You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
707 B

import React from 'react'
import PropTypes from 'prop-types'
import Login from './Login'
import Signup from './Signup'
import styles from './InitWallet.scss'
const InitWallet = ({
password,
passwordIsValid,
hasSeed,
updatePassword,
createWallet,
unlockWallet,
unlockingWallet,
unlockWalletError
}) => (
<div className={styles.container}>
{
hasSeed ?
<Login
password={password}
updatePassword={updatePassword}
unlockingWallet={unlockingWallet}
unlockWallet={unlockWallet}
unlockWalletError={unlockWalletError}
/>
:
<Signup />
}
</div>
)
InitWallet.propTypes = {}
export default InitWallet