()
| 39 | |
| 40 | // hooks |
| 41 | export const useTutorialProgress = () => { |
| 42 | return useTutorialStore((state) => ({ |
| 43 | startedTutorials: state.startedTutorials, |
| 44 | completedTutorials: state.completedTutorials, |
| 45 | })); |
| 46 | }; |
| 47 | |
| 48 | // actions |
| 49 | export const setTutorialHasStarted = (tutorial: Tutorial, track: Track | null) => { |