From c3400859dc91ae40cfcbc8d6930d62568fc02607 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 9 Oct 2023 02:21:52 -0400 Subject: [PATCH] refactor: change ChainIndicator to NetworkIndicator --- .../lume/LumeDashboard/LumeDashboard.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/lume/LumeDashboard/LumeDashboard.tsx b/src/components/lume/LumeDashboard/LumeDashboard.tsx index 0a29695..d17e549 100644 --- a/src/components/lume/LumeDashboard/LumeDashboard.tsx +++ b/src/components/lume/LumeDashboard/LumeDashboard.tsx @@ -38,9 +38,9 @@ const LumeDashboard = () => { {networks .filter((network) => network.type === type) .map((network, networkIndex) => ( - ))} @@ -61,19 +61,19 @@ const chainIndicatorVariant = cva("chainIndicatorVariant", { }, }, }); -const ChainIndicator = ({ chain }: { chain: Network }) => { +const NetworkIndicator = ({ network }: { network: Network }) => { return ( -
- +
+
- {chain.name} + {network.name} - {SYNCSTATE_TO_TEXT[chain.syncState]} + {SYNCSTATE_TO_TEXT[network.syncState]}