on master help sign in
Clear pointCursor when loading login page
41f9889Fang
src/bridge/views/Login.js+3−3
@@ -36,7 +36,6 @@ const TABS = {
36 ADVANCED: Symbol('ADVANCED'),
36 ADVANCED: Symbol('ADVANCED'),
37};
37};
38
38
39−//TODO support "advances" login methods. design under discussion...
40class Login extends React.Component {
39class Login extends React.Component {
41 constructor(props) {
40 constructor(props) {
42 super(props);
41 super(props);
@@ -51,8 +50,9 @@ class Login extends React.Component {
51 }
50 }
52
51
53 componentDidMount() {
52 componentDidMount() {
54− //TODO send help, want to use initialNetworkType
53+ this.props.setNetworkType(this.props.networkType);
55− this.props.setNetworkType(NETWORK_TYPES.LOCAL);
54+ // we expect pointCursor to not be set yet
55+ this.props.setPointCursor(Nothing());
56 }
56 }
57
57
58 handleTabChange(currentTab) {
58 handleTabChange(currentTab) {