diff --git a/src/Home.tsx b/src/Home.tsx index 1476674..63078b3 100644 --- a/src/Home.tsx +++ b/src/Home.tsx @@ -26,13 +26,13 @@ const Home: React.FC = () => { document.title = "Home | Otterscan"; return ( -
+
{isScanning && setScanning(false)} />} -
+
{ Search
-
-
- {provider?.network.chainId !== 11155111 && ( - -
- - - - Check out the special dashboard for EIP-1559 - - - -
-
- )} -
- {latestBlock && ( - -
Latest block: {commify(latestBlock.number)}
- -
- )} - {beaconData && ( -
-
- Finalized slot: {commify(beaconData.data.header.message.slot)} -
- {slotTime && } -
- State root:{" "} - - {beaconData.data.header.message.state_root} +
+ {provider?.network.chainId !== 11155111 && ( + +
+ + + + Check out the special dashboard for EIP-1559 + +
-
+ )}
+ {latestBlock && ( + +
Latest block: {commify(latestBlock.number)}
+ +
+ )} + {beaconData && ( +
+
+ Finalized slot: {commify(beaconData.data.header.message.slot)} +
+ {slotTime && } +
+ State root:{" "} + + {beaconData.data.header.message.state_root} + +
+
+ )}
); }; diff --git a/src/Logo.tsx b/src/Logo.tsx index 3671e42..328ed73 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 = () => ( -
+