From 2a78834c1d7cb28e55a02083174cfa55fdd69d89 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Sun, 24 Oct 2021 01:12:05 -0300 Subject: [PATCH] Refresh tweaks --- src/App.tsx | 2 +- src/special/london/Blocks.tsx | 2 +- src/special/london/London.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 9c7c1fe..846e61f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -30,7 +30,7 @@ const App = () => { }, [sourcifySource, setSourcifySource]); return ( - LOADING}> + {runtime.connStatus !== ConnectionStatus.CONNECTED ? ( = ({ latestBlock, targetBlockNumber }) => { ); return ( -
+
diff --git a/src/special/london/London.tsx b/src/special/london/London.tsx index 0663796..aba0684 100644 --- a/src/special/london/London.tsx +++ b/src/special/london/London.tsx @@ -9,7 +9,7 @@ const London: React.FC = () => { const { provider } = useContext(RuntimeContext); const block = useLatestBlock(provider); if (!provider || !block) { - return <>; + return
; } // Display countdown