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

less resource-intensive methods of parsing URLs

This commit is contained in:
2022-06-01 18:40:57 -04:00
parent d1ee8b2632
commit 33c210aacf
16 changed files with 195 additions and 188 deletions

View File

@@ -60,7 +60,7 @@ const VNC = ({ server }: VNCProps) => {
// ends the session forcefully
const disconnectVM = () => {
try {
rfbRef.current.disconnect();
rfbRef.current?.disconnect();
setConnected(false);
} catch (error) {} // eslint-disable-line no-empty
};