Skip to content

Commit

Permalink
Fixes blank wallet screen #153
Browse files Browse the repository at this point in the history
  • Loading branch information
Flaxscrip committed May 21, 2024
1 parent 89a998b commit 73fff11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kc-app/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ function App() {
async function refreshAll() {
try {
const currentId = await keymaster.getCurrentId();
const registries = await keymaster.listRegistries();
setRegistries(registries);

if (currentId) {
setCurrentId(currentId);
Expand All @@ -55,9 +57,7 @@ function App() {
}
else {
setTab('create');
}
const registries = await keymaster.listRegistries();
setRegistries(registries);
}
} catch (error) {
window.alert(error);
}
Expand Down

0 comments on commit 73fff11

Please sign in to comment.