From 152abb0e1014690a6f947aa21e4c9c4b1a06726c Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Wed, 5 Jun 2024 22:00:39 -0500 Subject: [PATCH] don't show balance until we're done loading --- src/components/HomeBalance.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/HomeBalance.tsx b/src/components/HomeBalance.tsx index a066ebb..37dbecb 100644 --- a/src/components/HomeBalance.tsx +++ b/src/components/HomeBalance.tsx @@ -1,6 +1,6 @@ import { createMemo, Match, Suspense, Switch } from "solid-js"; -import { AmountFiat, AmountSats } from "~/components/Amount"; +import { AmountFiat, AmountSats, LoadingShimmer } from "~/components"; import { useMegaStore } from "~/state/megaStore"; export function HomeBalance() { @@ -24,6 +24,9 @@ export function HomeBalance() { >

+ + +