diff options
| author | jackyzha0 <[email protected]> | 2020-09-03 23:02:39 -0700 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2020-09-03 23:02:39 -0700 |
| commit | ba20f0123e7af222d8866662f1ccbf7eebdde552 (patch) | |
| tree | 2fbe6bff746bc73d9f7498cb33e11c8d64b4e1f7 /frontend/src/components/ViewPaste.js | |
| parent | replace dangerouslysetinnerhtml by using react-markdown (diff) | |
| download | ctrl-v-ba20f0123e7af222d8866662f1ccbf7eebdde552.tar.xz ctrl-v-ba20f0123e7af222d8866662f1ccbf7eebdde552.zip | |
fix finddomnode deprecated in dropdown
Diffstat (limited to 'frontend/src/components/ViewPaste.js')
| -rw-r--r-- | frontend/src/components/ViewPaste.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/frontend/src/components/ViewPaste.js b/frontend/src/components/ViewPaste.js index 2d69544..179321b 100644 --- a/frontend/src/components/ViewPaste.js +++ b/frontend/src/components/ViewPaste.js @@ -26,7 +26,6 @@ const ViewPaste = (props) => { const [language, setLanguage] = useState(LANGS.raw); const ErrorLabelRef = useRef(null); - const PasswordModalRef = useRef(null); const ComponentRef = useRef(null); function validatePass(pass, onErrorCallBack) { @@ -116,7 +115,6 @@ const ViewPaste = (props) => { return ( <div> <PasswordModal - ref={PasswordModalRef} hasPass={hasPass} validPass={validPass} value={enteredPass} |