We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4cdead commit 4ed33b1Copy full SHA for 4ed33b1
hooks/useSession.ts
@@ -101,8 +101,8 @@ export const useSession = ({ allSchedules }: { allSchedules: Schedule[] }) => {
101
}, [handleSessionsToggle])
102
103
const selectTabByday = useCallback(() => {
104
- if (moment().format('DD') === '06') setActiveTab(1)
105
- if (moment().format('DD') === '07') setActiveTab(2)
+ if (moment().format('DD') === '06') setActiveTab(0)
+ if (moment().format('DD') === '07') setActiveTab(1)
106
if (moment().format('DD') === '08') setActiveTab(2)
107
}, [])
108
0 commit comments