diff options
| author | jackyzha0 <[email protected]> | 2021-03-07 07:57:10 -0800 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2021-03-07 07:57:10 -0800 |
| commit | 4734fb3f72ac94655d171894bd4cdd5f79be694e (patch) | |
| tree | 0f8700594afb386c1d0818e5a8495111cbd7dce8 /frontend/src/components/modals/PasswordModal.js | |
| parent | Merge pull request #70 from jackyzha0/visual-overhaul (diff) | |
| download | ctrl-v-4734fb3f72ac94655d171894bd4cdd5f79be694e.tar.xz ctrl-v-4734fb3f72ac94655d171894bd4cdd5f79be694e.zip | |
refactor to use useFetchPaste hook
Diffstat (limited to 'frontend/src/components/modals/PasswordModal.js')
| -rw-r--r-- | frontend/src/components/modals/PasswordModal.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/src/components/modals/PasswordModal.js b/frontend/src/components/modals/PasswordModal.js index a829091..5c4ab87 100644 --- a/frontend/src/components/modals/PasswordModal.js +++ b/frontend/src/components/modals/PasswordModal.js @@ -1,7 +1,7 @@ import React, { useRef } from 'react'; import Modal from 'react-modal'; import { Password } from '../Inputs' -import {ModalHeader, Padding, modalStyles, Form} from './shared' +import {ModalHeader, modalStyles, Form} from './shared' import Error from '../Err'; import {SubmitButton} from "../Common/Button"; @@ -28,7 +28,6 @@ const PasswordModal = (props) => { value={props.value} onChange={props.onChange} /> <SubmitButton type="submit" value="continue" /> - <Padding /> <Error ref={ErrorLabel} /> </Form> </Modal> |