From 25d029ba57153a2f0a1c3989a58b5b7c8492740a Mon Sep 17 00:00:00 2001 From: Benji Grant Date: Fri, 9 Jun 2023 03:51:20 +1000 Subject: [PATCH] Optimise month field --- frontend/src/app/[id]/layout.tsx | 2 - frontend/src/app/create/page.tsx | 1 - frontend/src/app/how-to/page.tsx | 2 - frontend/src/app/page.tsx | 3 - frontend/src/app/privacy/page.tsx | 2 - .../CalendarField/components/Month/Month.tsx | 55 ++++++++++++------- 6 files changed, 35 insertions(+), 30 deletions(-) diff --git a/frontend/src/app/[id]/layout.tsx b/frontend/src/app/[id]/layout.tsx index 2717856..f07140f 100644 --- a/frontend/src/app/[id]/layout.tsx +++ b/frontend/src/app/[id]/layout.tsx @@ -4,13 +4,11 @@ import Header from '/src/components/Header/Header' const Layout = async ({ children }: { children: React.ReactNode }) => <> - {/* @ts-expect-error Async Server Component */}
{children} - {/* @ts-expect-error Async Server Component */}