import { useLocation } from "react-router"; import { t as i18nT } from "i18next"; import EmptyState from "./EmptyState"; export default function PreviewEmptyStates() { const currentRoute = useLocation().pathname; return (