feat: log canvas !initialized
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user