diff options
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} |