feat: remember library filters #192

This commit is contained in:
Prayag Prajapati committed 2024-09-13 10:39:48 +05:30
1 parent a19ea1c52f
commit 15e78a370c
8 files changed
+267 -198

No files matched your search

+3 -2
View File
@@ -1,15 +1,16 @@
import Typography from "@mui/material/Typography";
import "./textLink.scss";
import { useNavigate } from "@tanstack/react-router";
const TextLink = ({ children, location, variant, otherProps }) => {
// const navigate = useNavigate();
const navigate = useNavigate();
return (
<Typography
variant={variant}
className="link flex"
// onClick={() => navigate(location)}
onClick={() => navigate({ to: location })}
{...otherProps}
>
{children}