traintrape-moi/client/hooks/useChallenges.ts

4 lines
119 B
TypeScript

import { useAppSelector } from "./useStore"
export const useTrain = () => useAppSelector((state) => state.challenges)