feat: update mobile layout, fixes

This commit is contained in:
Andrea
2024-09-24 21:21:59 +02:00
parent 6d72ac0a56
commit bf0a411639
13 changed files with 76 additions and 65 deletions

View File

@@ -4,9 +4,8 @@ import { LinkWrapper } from "~/components/LinkWrapper";
import { useMatch } from "./useMatch";
export default function () {
const { handle } = useMatch() as unknown as {
handle: { to: string; text: string };
};
const { handle } = useMatch();
return (
<div>
<LinkWrapper>

View File

@@ -8,5 +8,7 @@ export function useMatch() {
throw new Error("Bruh");
}
return { handle, ...rest};
return { handle, ...rest } as unknown as {
handle: { to: string; text: string };
};
}