SendRequest -> GatherData

This commit is contained in:
Jannis R 2016-11-07 10:23:42 +01:00
parent 1a245405e5
commit 435d3c24db
No known key found for this signature in database
GPG Key ID: 0FE83946296A88A5
4 changed files with 5 additions and 5 deletions

View File

@ -20,9 +20,9 @@ import phone from 'phoneformat.js';
import { Form, Input } from '../../../ui'; 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 = { static propTypes = {
onDataIsValid: PropTypes.func.isRequired, onDataIsValid: PropTypes.func.isRequired,
onDataIsInvalid: PropTypes.func.isRequired onDataIsInvalid: PropTypes.func.isRequired

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 './sendRequest'; export default from './gatherData';

View File

@ -24,7 +24,7 @@ import { validateAddress, validateUint } from '../../util/validation';
import ABI from '../../contracts/abi/sms-verification.json'; import ABI from '../../contracts/abi/sms-verification.json';
const contract = '0x7B3F58965439b22ef1dA4BB78f16191d11ab80B0'; const contract = '0x7B3F58965439b22ef1dA4BB78f16191d11ab80B0';
import SendRequest from './SendRequest'; import GatherData from './GatherData';
export default class SMSVerification extends Component { export default class SMSVerification extends Component {
static contextTypes = { static contextTypes = {
@ -130,7 +130,7 @@ export default class SMSVerification extends Component {
renderFirstStep () { renderFirstStep () {
return ( return (
<SendRequest <GatherData
onDataIsValid={ this.onDataIsValid } onDataIsValid={ this.onDataIsValid }
onDataIsInvalid={ this.onDataIsInvalid } onDataIsInvalid={ this.onDataIsInvalid }
/> />