We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
null
undefined
1 parent 8a9ce17 commit d06a492Copy full SHA for d06a492
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