diff options
| author | jackyzha0 <[email protected]> | 2020-07-18 15:34:26 -0700 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2020-07-18 15:34:26 -0700 |
| commit | 4916fec43a8fae28c7d0c230505d5c4c2ac2f026 (patch) | |
| tree | 762f5372454cd1af0a5c3123906d35259542fd96 /frontend/src/components/modals/PasswordModal.js | |
| parent | refactor newpaste (diff) | |
| download | ctrl-v-4916fec43a8fae28c7d0c230505d5c4c2ac2f026.tar.xz ctrl-v-4916fec43a8fae28c7d0c230505d5c4c2ac2f026.zip | |
refactor viewpaste and fixed button height
Diffstat (limited to 'frontend/src/components/modals/PasswordModal.js')
| -rw-r--r-- | frontend/src/components/modals/PasswordModal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/modals/PasswordModal.js b/frontend/src/components/modals/PasswordModal.js index e250e84..bf373cc 100644 --- a/frontend/src/components/modals/PasswordModal.js +++ b/frontend/src/components/modals/PasswordModal.js @@ -16,7 +16,7 @@ const modalStyles = { }; const PasswordModal = (props) => { - const ErrorLabel = useRef(); + const ErrorLabel = useRef(null); Modal.setAppElement('body'); function submitPassword(e) { |