diff --git a/client/src/containers/welcome-message/index.tsx b/client/src/containers/welcome-message/index.tsx index 31ac7e3..ebbc929 100644 --- a/client/src/containers/welcome-message/index.tsx +++ b/client/src/containers/welcome-message/index.tsx @@ -41,7 +41,7 @@ export default function WelcomeMessage() { const handleFullscreen = () => { setFullscreen(screenfull?.isFullscreen); }; - + useEffect(() => { if (screenfull.isEnabled) { screenfull.on("change", handleFullscreen);