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

Small code cleanup to WalletInitializedContainer #685

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 {

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think prettier needs to be run on this file. You can do yarn prettier:write or just use the prettier vs code extension.

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

return <LandingPage />;
}
}
Expand Down