1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 07:21:17 -04:00

bump next & use legacy next/router

This commit is contained in:
2022-11-03 09:18:39 -04:00
parent b290f0dd41
commit ddb0843bac
6 changed files with 220 additions and 220 deletions

View File

@@ -38,7 +38,7 @@ export type VNCProps = ComponentPropsWithoutRef<typeof Display> & {
};
const VNC = ({ server, style, ...rest }: VNCProps, ref: Ref<Partial<RFB>>) => {
const router = useRouter();
const router = useRouter(true);
// we definitely do NOT want this page to connect more than once!
const [loaded, setLoaded] = useState(false);