Skip to content

Commit 1ce9169

Browse files
committed
redo onboarding when all wallets are deleted
1 parent 956dd04 commit 1ce9169

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/store/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ const store = new Vuex.Store({
129129
return;
130130

131131
state.wallets.splice(idx, 1);
132+
if (state.wallets.length === 0)
133+
state.setup = false; // redo onboarding
132134
},
133135
setExchangeRate(state, { siacoin, siafund }) {
134136
state.exchangeRateSC = siacoin;

0 commit comments

Comments
 (0)