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