From 4b2dad20d16524a7c42624d4641fba6b68e5f2ba Mon Sep 17 00:00:00 2001 From: Lukas Date: Sun, 9 Jun 2024 13:01:01 +0200 Subject: [PATCH 1/2] fix(app): fix text connect btn --- app/src/lib/components/connect/connect.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/lib/components/connect/connect.svelte b/app/src/lib/components/connect/connect.svelte index e94e9c38b0..a1863f92d4 100644 --- a/app/src/lib/components/connect/connect.svelte +++ b/app/src/lib/components/connect/connect.svelte @@ -17,7 +17,11 @@ import { cosmosStore, cosmosWalletsInformation } from "$lib/wallet/cosmos/index. /** * TODO: check both chains */ -$: buttonText = $sepoliaStore.connectionStatus === "connected" ? "Connected" : "Connect Wallet" + +$: buttonText = + $sepoliaStore.connectionStatus === "connected" || $cosmosStore.connectionStatus === "connected" + ? "Connected" + : "Connect Wallet" let sheetOpen = false $: if ($navigating) sheetOpen = false From 1aa4093b767e05a5bccf9868b6d68bbf23b7c1f9 Mon Sep 17 00:00:00 2001 From: Lukas Date: Sun, 9 Jun 2024 13:01:44 +0200 Subject: [PATCH 2/2] fix(app): toasts and btn fix --- app/src/lib/components/SpinnerSVG.svelte | 19 ++++++++++++++++ app/src/routes/faucet/+page.svelte | 28 +++++++++--------------- 2 files changed, 29 insertions(+), 18 deletions(-) create mode 100644 app/src/lib/components/SpinnerSVG.svelte diff --git a/app/src/lib/components/SpinnerSVG.svelte b/app/src/lib/components/SpinnerSVG.svelte new file mode 100644 index 0000000000..409ba1f28a --- /dev/null +++ b/app/src/lib/components/SpinnerSVG.svelte @@ -0,0 +1,19 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/routes/faucet/+page.svelte b/app/src/routes/faucet/+page.svelte index 4eb7fa89d2..596e8ee1a8 100644 --- a/app/src/routes/faucet/+page.svelte +++ b/app/src/routes/faucet/+page.svelte @@ -1,12 +1,10 @@