Skip to content

Commit

Permalink
Fix for undefined ref on hot reload on web (#5407)
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey authored Sep 18, 2024
1 parent 41d4b2c commit 6c8ef69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/shell/composer/useComposerKeyboardShortcut.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function useComposerKeyboardShortcut() {
function handler(event: KeyboardEvent) {
if (shouldIgnore(event)) return
if (
openDialogs.current.size > 0 ||
openDialogs?.current.size > 0 ||
isModalActive ||
activeLightbox ||
isDrawerOpen
Expand Down

0 comments on commit 6c8ef69

Please sign in to comment.