SendRequest -> GatherData
This commit is contained in:
parent
1a245405e5
commit
435d3c24db
@ -20,9 +20,9 @@ import phone from 'phoneformat.js';
|
||||
|
||||
import { Form, Input } from '../../../ui';
|
||||
|
||||
import styles from './SendRequest.css';
|
||||
import styles from './gatherData.css';
|
||||
|
||||
export default class SendRequest extends Component {
|
||||
export default class GatherData extends Component {
|
||||
static propTypes = {
|
||||
onDataIsValid: PropTypes.func.isRequired,
|
||||
onDataIsInvalid: PropTypes.func.isRequired
|
@ -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 './sendRequest';
|
||||
export default from './gatherData';
|
@ -24,7 +24,7 @@ import { validateAddress, validateUint } from '../../util/validation';
|
||||
import ABI from '../../contracts/abi/sms-verification.json';
|
||||
const contract = '0x7B3F58965439b22ef1dA4BB78f16191d11ab80B0';
|
||||
|
||||
import SendRequest from './SendRequest';
|
||||
import GatherData from './GatherData';
|
||||
|
||||
export default class SMSVerification extends Component {
|
||||
static contextTypes = {
|
||||
@ -130,7 +130,7 @@ export default class SMSVerification extends Component {
|
||||
|
||||
renderFirstStep () {
|
||||
return (
|
||||
<SendRequest
|
||||
<GatherData
|
||||
onDataIsValid={ this.onDataIsValid }
|
||||
onDataIsInvalid={ this.onDataIsInvalid }
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user