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> </form>
<div className="mx-auto h-32"> <div className="mx-auto h-32">
<div className="text-lg text-link-blue hover:text-link-blue-hover font-bold"> <div className="text-lg text-link-blue hover:text-link-blue-hover font-bold">
<NavLink to="/special/london"> {provider?.network.chainId !== 11155111 && (
<div className="flex space-x-2 items-baseline text-orange-500 hover:text-orange-700 hover:underline"> <NavLink to="/special/london">
<span> <div className="flex space-x-2 items-baseline text-orange-500 hover:text-orange-700 hover:underline">
<FontAwesomeIcon icon={faBurn} /> <span>
</span> <FontAwesomeIcon icon={faBurn} />
<span>Check out the special dashboard for EIP-1559</span> </span>
<span> <span>Check out the special dashboard for EIP-1559</span>
<FontAwesomeIcon icon={faBurn} /> <span>
</span> <FontAwesomeIcon icon={faBurn} />
</div> </span>
</NavLink> </div>
</NavLink>
)}
</div> </div>
{latestBlock && ( {latestBlock && (
<NavLink <NavLink