import { useRouter } from './useRouter';

export function useRoute() {
  const router = useRouter();
  return router.history.route;
}
