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

Revert "bump next & use legacy next/router"

This reverts commit ddb0843bac.
This commit is contained in:
2022-11-03 15:13:29 -04:00
parent ddb0843bac
commit 670dc1b6e2
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(true);
const router = useRouter();
// we definitely do NOT want this page to connect more than once!
const [loaded, setLoaded] = useState(false);