Skip to content

Commit

Permalink
Merge pull request #15 from peterzen/app-init-default
Browse files Browse the repository at this point in the history
Don't go to /wallet upon app startup
  • Loading branch information
peterzen authored Mar 27, 2020
2 parents 3515d27 + 447f1ff commit 61f177d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/features/app/appSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ export const connectWallet: ActionCreator<any> = (endpoint: GRPCEndpoint): AppTh
dispatch(connectWalletAttempting())
try {
const connectedEndpoint = await AppBackend.connectWalletEndpoint(endpoint.getId())
dispatch(connectWalletSuccess(connectedEndpoint))
await dispatch(connectWalletSuccess(connectedEndpoint))
dispatch(initializeStore())
.then(() => {
setTimeout(() => {
history.push("/wallet")
// history.push("/wallet")
setTimeout(() => {
dispatch(showProgressbar(false))
dispatch(setWalletOpened())
Expand Down

0 comments on commit 61f177d

Please sign in to comment.