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