From 2234fac07573ec521a22ca992b296e967665d982 Mon Sep 17 00:00:00 2001 From: Dejan Date: Sat, 5 Oct 2024 22:11:22 +0200 Subject: [PATCH] - Fixed wrong method being called when fetching microsoft events --- .../pages/settings/CalendarSettingsPage.tsx | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/components/pages/settings/CalendarSettingsPage.tsx b/components/pages/settings/CalendarSettingsPage.tsx index e582c6a..9edfd41 100644 --- a/components/pages/settings/CalendarSettingsPage.tsx +++ b/components/pages/settings/CalendarSettingsPage.tsx @@ -83,7 +83,7 @@ const CalendarSettingsPage = (props: { startDateTime.toISOString().slice(0, -5) + "Z", endDateTime.toISOString().slice(0, -5) + "Z", ).then((response) => { - response?.forEach((item) => createEvent(item)); + response?.forEach((item) => saveData(item)); }); }; @@ -207,6 +207,7 @@ const CalendarSettingsPage = (props: { width={40} height={40} style={{ borderRadius: 50 }} + marginR-10 centerV centerH > @@ -226,6 +227,7 @@ const CalendarSettingsPage = (props: { width={40} height={40} style={{ borderRadius: 50 }} + marginR-10 centerV centerH > @@ -242,6 +244,26 @@ const CalendarSettingsPage = (props: { Calendars +