Skip to content

Commit

Permalink
#2662 Remove unused routes and methods
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbsfromncis committed May 10, 2019
1 parent 6a7d7a9 commit fcee7d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
4 changes: 0 additions & 4 deletions app/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,6 @@ class App extends React.Component {
exact
component={AccountDepositWithdraw}
/>
<Route
path="/create-account"
component={LoginSelector}
/>
<Route path="/login" component={Login} />
<Route
path="/registration"
Expand Down
15 changes: 0 additions & 15 deletions app/components/LoginSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ class LoginSelector extends React.Component {
this.unmounted = true;
}

onSelect(route) {
this.props.history.push("/create-account/" + route);
}

handleLanguageSelect(locale) {
IntlActions.switchLocale(locale);
this.setState({
Expand Down Expand Up @@ -213,17 +209,6 @@ class LoginSelector extends React.Component {
/>
</h5>
</div>

<Route
path="/create-account/wallet"
exact
component={CreateAccount}
/>
<Route
path="/create-account/password"
exact
component={CreateAccountPassword}
/>
</div>
</div>
</div>
Expand Down

0 comments on commit fcee7d0

Please sign in to comment.