Skip to content

Commit

Permalink
fix: correct return type of useSelectedSessionsWithSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
thraizz committed Jun 2, 2024
1 parent 2f7c507 commit d7b65e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useSelectedSessions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ export const useSelectedSessionsWithSettings = () => {

acc[session.date] = { ...session, results };
return acc; // Add this line to return the accumulator
}, {});
}, {} as Sessions);
};

0 comments on commit d7b65e5

Please sign in to comment.