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,6 +62,7 @@ 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">
{provider?.network.chainId !== 11155111 && (
<NavLink to="/special/london"> <NavLink to="/special/london">
<div className="flex space-x-2 items-baseline text-orange-500 hover:text-orange-700 hover:underline"> <div className="flex space-x-2 items-baseline text-orange-500 hover:text-orange-700 hover:underline">
<span> <span>
@ -73,6 +74,7 @@ const Home: React.FC = () => {
</span> </span>
</div> </div>
</NavLink> </NavLink>
)}
</div> </div>
{latestBlock && ( {latestBlock && (
<NavLink <NavLink