We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a03dff commit 8880378Copy full SHA for 8880378
src/pages/meetings/schedules/useWeeklySchedules.tsx
@@ -69,7 +69,7 @@ const useWeeklySchedules = () => {
69
if (value === 1) type = 'weekend';
70
if (value === 2) type = 'outgoing';
71
72
- localStorage.setItem(LOCALSTORAGE_KEY, type!);
+ localStorage.setItem(LOCALSTORAGE_KEY, type ?? 'midweek');
73
};
74
75
return { value, handleScheduleChange, tabs };
0 commit comments