mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-20 18:26:01 -04:00
bump next & use legacy next/router
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user