This commit is contained in:
2026-02-16 19:34:35 +00:00
commit 9ab0940ca4
784 changed files with 41710 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import { Link, type LinkProps } from 'react-router';
import { useGlobalQueryString } from '../hooks/src/useQueryState';
export const NavLink = (props: LinkProps) => {
const { children, ...rest } = props;
const queryString = useGlobalQueryString();
return (
<Link {...rest} to={`${props.to}?${queryString}`}>
{children}
</Link>
);
};