Skip to content

Commit

Permalink
added grid default
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelgeek committed Nov 2, 2024
1 parent 4f8fb67 commit 76e9488
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hooks/useSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ export const useSession = ({ allSchedules }: { allSchedules: Schedule[] }) => {
}, [handleSessionsToggle])

const selectTabByday = useCallback(() => {
if (moment().format('DD') === '17') setActiveTab(1)
if (moment().format('DD') === '18') setActiveTab(2)
if (moment().format('DD') === '06') setActiveTab(1)
if (moment().format('DD') === '07') setActiveTab(2)
if (moment().format('DD') === '08') setActiveTab(2)
}, [])

useEffect(() => {
Expand Down

0 comments on commit 76e9488

Please sign in to comment.