diff options
| author | Jacky Zhao <[email protected]> | 2020-09-03 23:35:31 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-03 23:35:31 -0700 |
| commit | 6d3c9267cda3c4b4642d7a5d3145bd943e5fecd0 (patch) | |
| tree | 9054620782559381948b508e6cebf8e7d953938d /frontend/src/components/ViewPaste.js | |
| parent | Merge pull request #54 from jackyzha0/patch (diff) | |
| parent | add md class to preview renderer (diff) | |
| download | ctrl-v-6d3c9267cda3c4b4642d7a5d3145bd943e5fecd0.tar.xz ctrl-v-6d3c9267cda3c4b4642d7a5d3145bd943e5fecd0.zip | |
Merge pull request #56 from jackyzha0/patch
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} |