From 47c5c0e8493a367a379e4894b7a1bebb96b4d219 Mon Sep 17 00:00:00 2001 From: Sebastian Drejkarz Date: Wed, 22 May 2024 15:37:16 +0200 Subject: [PATCH] fix: remove defaults for Layout --- .../webapp-emails/src/base/layout/layout.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp-libs/webapp-emails/src/base/layout/layout.component.tsx b/packages/webapp-libs/webapp-emails/src/base/layout/layout.component.tsx index 9b9a87499..ea0b658bf 100644 --- a/packages/webapp-libs/webapp-emails/src/base/layout/layout.component.tsx +++ b/packages/webapp-libs/webapp-emails/src/base/layout/layout.component.tsx @@ -13,7 +13,7 @@ export type LayoutProps = { const localUrl = `http://localhost:3000/email-assets`; -export default function Layout({ title = 'title', text = 'text', children = 'children' }: LayoutProps) { +export default function Layout({ title, text, children }: LayoutProps) { return (