WIP ESLint fixes

This commit is contained in:
2025-03-28 11:35:51 +01:00
parent 4b9df95721
commit 9a905e83f7
40 changed files with 92 additions and 91 deletions

View File

@ -91,7 +91,7 @@ function VNCInner(p: { vm: VMInfo }): React.ReactElement {
connect(false);
if (vncRef.current) {
vncRef.current.onfullscreenchange = () => setCounter(counter + 1);
vncRef.current.onfullscreenchange = () => { setCounter(counter + 1); };
}
});
@ -140,10 +140,10 @@ function VNCInner(p: { vm: VMInfo }): React.ReactElement {
ref={vncScreenRef}
url={token.url}
onDisconnect={() => {
console.info("VNC disconnected " + token?.url);
console.info("VNC disconnected " + token.url);
disconnected();
}}
onConnect={() => setConnected(true)}
onConnect={() => { setConnected(true); }}
/>
</div>
</div>