Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
Small code cleanup to WalletInitializedContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
snario committed Sep 24, 2019
1 parent 53b64dc commit 83f90c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/wallet/src/containers/initialized.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ interface Props {
class WalletInitializedContainer extends PureComponent<Props> {
render() {
const { state } = this.props;
if (!state.currentProcessId) {
return <LandingPage />;
} else {

if (state.currentProcessId) {
const protocolState = selectors.getProtocolState(state, state.currentProcessId);
return <Protocol protocolState={protocolState} />;
}

return <LandingPage />;
}
}
Expand Down

0 comments on commit 83f90c3

Please sign in to comment.