From 03e47a04ea607634770180531058e298600485f4 Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Tue, 5 Mar 2024 16:34:10 +0800 Subject: [PATCH] fix: calender failed to change view for week (#3602) --- .../plugin-calendar/src/client/calendar/Calendar.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/plugins/@nocobase/plugin-calendar/src/client/calendar/Calendar.tsx b/packages/plugins/@nocobase/plugin-calendar/src/client/calendar/Calendar.tsx index 0d09b5484..0a4c1479c 100644 --- a/packages/plugins/@nocobase/plugin-calendar/src/client/calendar/Calendar.tsx +++ b/packages/plugins/@nocobase/plugin-calendar/src/client/calendar/Calendar.tsx @@ -184,9 +184,9 @@ export const Calendar: any = observer( const components = useMemo(() => { return { toolbar: (props) => , - week: { - header: (props) =>
, - }, + // week: { + // header: (props) =>
, + // }, month: { dateHeader: (props) =>
, }, @@ -217,7 +217,6 @@ export const Calendar: any = observer( noEventsInRange: i18nt('None'), showMore: (count) => i18nt('{{count}} more items', { count }), }; - return wrapSSR(