feat: log canvas !initialized

This commit is contained in:
karishmas6
2024-07-23 21:59:20 +05:30
parent 2eb049d319
commit 17ed6f70a1

View File

@@ -36,6 +36,8 @@ export const BrowserWindow = () => {
}
if (canvasRef?.current) {
drawImage(screenShot, canvasRef.current);
} else {
console.log('Canvas is not initialized');
}
return () => {
socket?.off("screencast", screencastHandler);