modals/SMSVerification -> modals/Verification

This commit is contained in:
Jannis R 2016-12-06 15:09:54 +01:00
parent 600a7e5ccc
commit b5b529f8c2
No known key found for this signature in database
GPG Key ID: 0FE83946296A88A5
19 changed files with 8 additions and 8 deletions

View File

@ -14,4 +14,4 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>. // along with Parity. If not, see <http://www.gnu.org/licenses/>.
export default from './SMSVerification'; export default from './verification';

View File

@ -37,7 +37,7 @@ import SendConfirmation from './SendConfirmation';
import Done from './Done'; import Done from './Done';
@observer @observer
export default class SMSVerification extends Component { export default class Verification extends Component {
static propTypes = { static propTypes = {
store: PropTypes.any.isRequired, store: PropTypes.any.isRequired,
account: PropTypes.string.isRequired, account: PropTypes.string.isRequired,
@ -54,7 +54,7 @@ export default class SMSVerification extends Component {
} }
render () { render () {
const phase = SMSVerification.phases[this.props.store.step]; const phase = Verification.phases[this.props.store.step];
const { error, isStepValid } = this.props.store; const { error, isStepValid } = this.props.store;
return ( return (

View File

@ -24,7 +24,7 @@ import EditMeta from './EditMeta';
import ExecuteContract from './ExecuteContract'; import ExecuteContract from './ExecuteContract';
import FirstRun from './FirstRun'; import FirstRun from './FirstRun';
import Shapeshift from './Shapeshift'; import Shapeshift from './Shapeshift';
import SMSVerification from './SMSVerification'; import Verification from './Verification';
import Transfer from './Transfer'; import Transfer from './Transfer';
import PasswordManager from './PasswordManager'; import PasswordManager from './PasswordManager';
import SaveContract from './SaveContract'; import SaveContract from './SaveContract';
@ -42,7 +42,7 @@ export {
ExecuteContract, ExecuteContract,
FirstRun, FirstRun,
Shapeshift, Shapeshift,
SMSVerification, Verification,
Transfer, Transfer,
PasswordManager, PasswordManager,
LoadContract, LoadContract,

View File

@ -23,7 +23,7 @@ import ContentSend from 'material-ui/svg-icons/content/send';
import LockIcon from 'material-ui/svg-icons/action/lock'; import LockIcon from 'material-ui/svg-icons/action/lock';
import VerifyIcon from 'material-ui/svg-icons/action/verified-user'; 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 { Actionbar, Button, Page } from '~/ui';
import shapeshiftBtn from '../../../assets/images/shapeshift-btn.png'; import shapeshiftBtn from '../../../assets/images/shapeshift-btn.png';
@ -32,7 +32,7 @@ import Header from './Header';
import Transactions from './Transactions'; import Transactions from './Transactions';
import { setVisibleAccounts } from '~/redux/providers/personalActions'; import { setVisibleAccounts } from '~/redux/providers/personalActions';
import VerificationStore from '~/modals/SMSVerification/store'; import VerificationStore from '~/modals/Verification/store';
import styles from './account.css'; import styles from './account.css';
@ -228,7 +228,7 @@ class Account extends Component {
const { address } = this.props.params; const { address } = this.props.params;
return ( return (
<SMSVerification <Verification
store={ store } account={ address } store={ store } account={ address }
onClose={ this.onVerificationClose } onClose={ this.onVerificationClose }
/> />