|
|
@@ -1,9 +1,9 @@
|
|
|
import React, { Component} from 'react';
|
|
|
import { Text } from 'react-native';
|
|
|
import { connect } from 'react-redux';
|
|
|
-import { Card, CardSection, Input, Button, Spinner } from './common';
|
|
|
-import { emailChanged, passwordChanged, loginUser } from '../actions/';
|
|
|
import { Actions } from 'react-native-router-flux';
|
|
|
+import { Card, CardSection, Input, Button, Spinner } from '../components/common';
|
|
|
+import { emailChanged, passwordChanged, loginUser } from '../actions/';
|
|
|
|
|
|
class LoginForm extends Component {
|
|
|
|
|
|
@@ -58,7 +58,7 @@ class LoginForm extends Component {
|
|
|
<Text style={styles.errorTextStyle}>
|
|
|
{this.props.error}
|
|
|
</Text>
|
|
|
-
|
|
|
+
|
|
|
<CardSection>
|
|
|
{this.renderButton()}
|
|
|
</CardSection>
|