traintrape-moi/client/hooks/useChallenges.ts

4 lines
124 B
TypeScript

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