Add error logs for fullscreen change on the front

This commit is contained in:
Zoe Roux 2023-06-05 23:07:34 +09:00
parent 6a4c2c6aea
commit 1d431ecad6
No known key found for this signature in database

View File

@ -63,7 +63,9 @@ export const fullscreenAtom = atom(
set(privateFullscreen, false);
screen.orientation.unlock();
}
} catch {}
} catch(e) {
console.error(e);
}
},
);
const privateFullscreen = atom(false);