From a6109754b419d4160ef6ec890ea74835dbc6b039 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Fri, 22 Oct 2021 09:29:54 -0300 Subject: [PATCH] Fix home screen flickering --- src/Home.tsx | 15 ++++++++++----- src/Logo.tsx | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/Home.tsx b/src/Home.tsx index 04824ce..dc79748 100644 --- a/src/Home.tsx +++ b/src/Home.tsx @@ -38,9 +38,11 @@ const Home: React.FC = () => { document.title = "Home | Otterscan"; return ( -
+
{isScanning && setScanning(false)} />} - +
+ +
{ > Search -
+ +
+
@@ -86,14 +90,15 @@ const Home: React.FC = () => {
{latestBlock && (
Latest block: {commify(latestBlock.number)}
)} - +
+
); }; diff --git a/src/Logo.tsx b/src/Logo.tsx index eb31768..3671e42 100644 --- a/src/Logo.tsx +++ b/src/Logo.tsx @@ -2,7 +2,7 @@ import React from "react"; import Otter from "./otter.jpg"; const Logo: React.FC = () => ( -
+