From 28f0e55475ecac41034e3fac8c48ea0a332d364c Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Wed, 13 May 2020 23:34:12 -0700 Subject: on new paste modal --- frontend/src/components/PasswordModal.js | 75 -------------------------------- 1 file changed, 75 deletions(-) delete mode 100644 frontend/src/components/PasswordModal.js (limited to 'frontend/src/components/PasswordModal.js') diff --git a/frontend/src/components/PasswordModal.js b/frontend/src/components/PasswordModal.js deleted file mode 100644 index ff4a0df..0000000 --- a/frontend/src/components/PasswordModal.js +++ /dev/null @@ -1,75 +0,0 @@ -import React from 'react'; -import Modal from 'react-modal'; -import styled from 'styled-components' -import { PassInput } from './Inputs' -import Error from './Err'; - -const modalStyles = { - content: { - top: '50%', - left: '50%', - transform: 'translate(-50%, -50%)', - width: '400px', - height: '250px', - border: '1px solid #11111188' - } -}; - -const PassProtected = styled.h3` - font-weight: 700 -` - -const RightPad = styled.div` - margin-right: 3em; -` - -const LeftPad = styled.div` - margin-left: 2em; -` - -class PasswordModal extends React.Component { - - componentWillMount() { - Modal.setAppElement('body'); - } - - constructor(props) { - super(props); - this.submitPassword = this.submitPassword.bind(this); - this.ErrorLabel = React.createRef(); - } - - submitPassword(event) { - const password = this.props.value - this.props.validateCallback(password) - event.preventDefault(); - } - - render() { - return( - -
- - 🚧 err: password protected - - - - - - - - -
-
- ); - } -} - -export default PasswordModal \ No newline at end of file -- cgit v1.2.3