diff options
author | 2021-09-14 19:58:52 +0200 | |
---|---|---|
committer | 2021-09-14 19:58:52 +0200 | |
commit | 95df3522a15631abc51a4295cae0ea401a8d4e1e (patch) | |
tree | e5eb0f368c947683f01458e912f21756fb0d99cb /src/components/ui/Modal/index.js | |
parent | docs: add sad270 as a contributor for bug, userTesting [skip ci] (#1941) (diff) | |
download | ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.tar.gz ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.tar.zst ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.zip |
feat: add eslint-plugin-unicorn (#1936)
Diffstat (limited to 'src/components/ui/Modal/index.js')
-rw-r--r-- | src/components/ui/Modal/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ui/Modal/index.js b/src/components/ui/Modal/index.js index 9e6830b0c..3c7c66c59 100644 --- a/src/components/ui/Modal/index.js +++ b/src/components/ui/Modal/index.js | |||
@@ -54,7 +54,7 @@ class Modal extends Component { | |||
54 | portal={portal} | 54 | portal={portal} |
55 | onRequestClose={close} | 55 | onRequestClose={close} |
56 | shouldCloseOnOverlayClick={shouldCloseOnOverlayClick} | 56 | shouldCloseOnOverlayClick={shouldCloseOnOverlayClick} |
57 | appElement={document.getElementById('root')} | 57 | appElement={document.querySelector('#root')} |
58 | > | 58 | > |
59 | {showClose && close && ( | 59 | {showClose && close && ( |
60 | <button type="button" className={classes.close} onClick={close}> | 60 | <button type="button" className={classes.close} onClick={close}> |