modals/SMSVerification -> modals/Verification
This commit is contained in:
parent
600a7e5ccc
commit
b5b529f8c2
@ -14,4 +14,4 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
export default from './SMSVerification';
|
||||
export default from './verification';
|
@ -37,7 +37,7 @@ import SendConfirmation from './SendConfirmation';
|
||||
import Done from './Done';
|
||||
|
||||
@observer
|
||||
export default class SMSVerification extends Component {
|
||||
export default class Verification extends Component {
|
||||
static propTypes = {
|
||||
store: PropTypes.any.isRequired,
|
||||
account: PropTypes.string.isRequired,
|
||||
@ -54,7 +54,7 @@ export default class SMSVerification extends Component {
|
||||
}
|
||||
|
||||
render () {
|
||||
const phase = SMSVerification.phases[this.props.store.step];
|
||||
const phase = Verification.phases[this.props.store.step];
|
||||
const { error, isStepValid } = this.props.store;
|
||||
|
||||
return (
|
@ -24,7 +24,7 @@ import EditMeta from './EditMeta';
|
||||
import ExecuteContract from './ExecuteContract';
|
||||
import FirstRun from './FirstRun';
|
||||
import Shapeshift from './Shapeshift';
|
||||
import SMSVerification from './SMSVerification';
|
||||
import Verification from './Verification';
|
||||
import Transfer from './Transfer';
|
||||
import PasswordManager from './PasswordManager';
|
||||
import SaveContract from './SaveContract';
|
||||
@ -42,7 +42,7 @@ export {
|
||||
ExecuteContract,
|
||||
FirstRun,
|
||||
Shapeshift,
|
||||
SMSVerification,
|
||||
Verification,
|
||||
Transfer,
|
||||
PasswordManager,
|
||||
LoadContract,
|
||||
|
@ -23,7 +23,7 @@ import ContentSend from 'material-ui/svg-icons/content/send';
|
||||
import LockIcon from 'material-ui/svg-icons/action/lock';
|
||||
import VerifyIcon from 'material-ui/svg-icons/action/verified-user';
|
||||
|
||||
import { EditMeta, DeleteAccount, Shapeshift, SMSVerification, Transfer, PasswordManager } from '~/modals';
|
||||
import { EditMeta, DeleteAccount, Shapeshift, Verification, Transfer, PasswordManager } from '~/modals';
|
||||
import { Actionbar, Button, Page } from '~/ui';
|
||||
|
||||
import shapeshiftBtn from '../../../assets/images/shapeshift-btn.png';
|
||||
@ -32,7 +32,7 @@ import Header from './Header';
|
||||
import Transactions from './Transactions';
|
||||
import { setVisibleAccounts } from '~/redux/providers/personalActions';
|
||||
|
||||
import VerificationStore from '~/modals/SMSVerification/store';
|
||||
import VerificationStore from '~/modals/Verification/store';
|
||||
|
||||
import styles from './account.css';
|
||||
|
||||
@ -228,7 +228,7 @@ class Account extends Component {
|
||||
const { address } = this.props.params;
|
||||
|
||||
return (
|
||||
<SMSVerification
|
||||
<Verification
|
||||
store={ store } account={ address }
|
||||
onClose={ this.onVerificationClose }
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user