aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/CalendarPage.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/CalendarPage.jsx')
-rw-r--r--modern/src/settings/CalendarPage.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/CalendarPage.jsx b/modern/src/settings/CalendarPage.jsx
index 099858a3..b7dcdd04 100644
--- a/modern/src/settings/CalendarPage.jsx
+++ b/modern/src/settings/CalendarPage.jsx
@@ -99,7 +99,7 @@ const CalendarPage = () => {
const onItemSaved = useCatch(async () => {
const response = await fetch('/api/calendars');
if (response.ok) {
- dispatch(calendarsActions.update(await response.json()));
+ dispatch(calendarsActions.refresh(await response.json()));
} else {
throw Error(await response.text());
}