There was an error while loading. Please reload this page.
null
undefined
1 parent 8a9ce17 commit d06a492Copy full SHA for d06a492
1 file changed
src/components/Modal/_hooks/useModalFocus.js
@@ -16,7 +16,7 @@ export const useModalFocus = (
16
17
const dialogElement = dialogRef.current;
18
19
- if (dialogElement == null) {
+ if (dialogElement === undefined) {
20
return () => {};
21
}
22
0 commit comments