Fix for undefined ref on hot reload on web (#5407)

zio/dev^2
Eric Bailey 2024-09-18 15:45:20 -05:00 committed by GitHub
parent 41d4b2c7ef
commit 6c8ef69654
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ export function useComposerKeyboardShortcut() {
function handler(event: KeyboardEvent) { function handler(event: KeyboardEvent) {
if (shouldIgnore(event)) return if (shouldIgnore(event)) return
if ( if (
openDialogs.current.size > 0 || openDialogs?.current.size > 0 ||
isModalActive || isModalActive ||
activeLightbox || activeLightbox ||
isDrawerOpen isDrawerOpen