Refresh tweaks

This commit is contained in:
Willian Mitsuda 2021-10-24 01:12:05 -03:00
parent 24e05e06e9
commit 2a78834c1d
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ const App = () => {
}, [sourcifySource, setSourcifySource]);
return (
<Suspense fallback={<>LOADING</>}>
<Suspense fallback={null}>
{runtime.connStatus !== ConnectionStatus.CONNECTED ? (
<ConnectionErrorPanel
connStatus={runtime.connStatus}

View File

@ -103,7 +103,7 @@ const Blocks: React.FC<BlocksProps> = ({ latestBlock, targetBlockNumber }) => {
);
return (
<div className="w-full mb-auto">
<div className="w-full flex-grow">
<div className="px-9 pt-3 pb-12 divide-y-2">
<div className="relative">
<div className="flex justify-center items-baseline space-x-2 px-3 pb-2 text-lg text-orange-500 ">

View File

@ -9,7 +9,7 @@ const London: React.FC = () => {
const { provider } = useContext(RuntimeContext);
const block = useLatestBlock(provider);
if (!provider || !block) {
return <></>;
return <div className="flex-grow"></div>;
}
// Display countdown