feat: update mobile layout, fixes
This commit is contained in:
@@ -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>
|
||||
|
@@ -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 };
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user