From 5f83cc7567e72b6a662ff9ef8ad1f7ef8e6b4e5b Mon Sep 17 00:00:00 2001 From: Andrea Scartabelli Date: Fri, 20 Dec 2024 12:24:37 +0100 Subject: [PATCH] web-wallet: wallet doesn't wait for the Wasm to load at startup Resolves #3238 --- web-wallet/CHANGELOG.md | 2 + .../src/lib/components/Banner/Banner.svelte | 13 +++- .../lib/stores/__tests__/walletStore.spec.js | 10 ++- web-wallet/src/lib/stores/networkStore.js | 12 +++- .../src/routes/(welcome)/+layout.svelte | 61 ++++++++++++++++++- web-wallet/src/routes/+layout.svelte | 12 +--- .../__snapshots__/layout.spec.js.snap | 2 +- .../src/routes/__tests__/layout.spec.js | 20 ++---- 8 files changed, 96 insertions(+), 36 deletions(-) diff --git a/web-wallet/CHANGELOG.md b/web-wallet/CHANGELOG.md index 3f76016f68..c87f630e42 100644 --- a/web-wallet/CHANGELOG.md +++ b/web-wallet/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fix wrong error shown in the login screen [#3226] [#3097] +- Fix wallet not waiting for the Wasm to load at startup [#3238] ## [0.10.1] - 2024-12-18 @@ -470,6 +471,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#3203]: https://github.com/dusk-network/rusk/issues/3203 [#3212]: https://github.com/dusk-network/rusk/issues/3212 [#3226]: https://github.com/dusk-network/rusk/issues/3226 +[#3238]: https://github.com/dusk-network/rusk/issues/3238 [#3245]: https://github.com/dusk-network/rusk/issues/3245 diff --git a/web-wallet/src/lib/components/Banner/Banner.svelte b/web-wallet/src/lib/components/Banner/Banner.svelte index fe83cb8491..fbfe248268 100644 --- a/web-wallet/src/lib/components/Banner/Banner.svelte +++ b/web-wallet/src/lib/components/Banner/Banner.svelte @@ -1,13 +1,20 @@ + + -