diff options
Diffstat (limited to 'frontend/src/components/modals')
| -rw-r--r-- | frontend/src/components/modals/PasteModal.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/frontend/src/components/modals/PasteModal.js b/frontend/src/components/modals/PasteModal.js index c91bbb4..ff2e639 100644 --- a/frontend/src/components/modals/PasteModal.js +++ b/frontend/src/components/modals/PasteModal.js @@ -4,6 +4,7 @@ import {LeftPad, ModalHeader, modalStyles, RightPad} from './shared' import { useHistory } from 'react-router-dom'; import { Text } from '../Inputs' import { useClipboard } from 'use-clipboard-copy'; +import {Button} from "../Form/Button"; const PasteModal = (props) => { const history = useHistory(); @@ -35,17 +36,16 @@ const PasteModal = (props) => { ref={clipboard.target} /> </RightPad> <LeftPad> - <button - className="lt-button lt-shadow lt-hover" + <Button type="submit"> view - </button> - <button - className="lt-button lt-shadow lt-hover" + </Button> + <Button + secondary type="button" onClick={clipboard.copy}> {clipboard.copied ? 'copied' : 'copy url'} - </button> + </Button> </LeftPad> </form> </Modal> |