feat(SW-237): Updated typings and code optimizations
This commit is contained in:
@@ -6,10 +6,10 @@ export default async function MyPagesLayout({
|
||||
bookingwidget,
|
||||
breadcrumbs,
|
||||
children,
|
||||
}: React.PropsWithChildren & {
|
||||
}: React.PropsWithChildren<{
|
||||
bookingwidget: React.ReactNode
|
||||
breadcrumbs: React.ReactNode
|
||||
}) {
|
||||
}>) {
|
||||
return (
|
||||
<>
|
||||
{bookingwidget}
|
||||
|
||||
Reference in New Issue
Block a user