import { useParams as useParamsRR } from "react-router-dom"; export const useParams = >() => useParamsRR() as T;