Quick and dirty hack to hide london dashboard from sepolia until fixed

This commit is contained in:
Willian Mitsuda 2022-02-13 15:48:29 -03:00
parent c847e11991
commit 8669003ac6
1 changed files with 13 additions and 11 deletions

View File

@ -62,17 +62,19 @@ const Home: React.FC = () => {
</form>
<div className="mx-auto h-32">
<div className="text-lg text-link-blue hover:text-link-blue-hover font-bold">
<NavLink to="/special/london">
<div className="flex space-x-2 items-baseline text-orange-500 hover:text-orange-700 hover:underline">
<span>
<FontAwesomeIcon icon={faBurn} />
</span>
<span>Check out the special dashboard for EIP-1559</span>
<span>
<FontAwesomeIcon icon={faBurn} />
</span>
</div>
</NavLink>
{provider?.network.chainId !== 11155111 && (
<NavLink to="/special/london">
<div className="flex space-x-2 items-baseline text-orange-500 hover:text-orange-700 hover:underline">
<span>
<FontAwesomeIcon icon={faBurn} />
</span>
<span>Check out the special dashboard for EIP-1559</span>
<span>
<FontAwesomeIcon icon={faBurn} />
</span>
</div>
</NavLink>
)}
</div>
{latestBlock && (
<NavLink