diff --git a/packages/nextjs/pages/index.tsx b/packages/nextjs/pages/index.tsx index 24584ad6..52c205be 100644 --- a/packages/nextjs/pages/index.tsx +++ b/packages/nextjs/pages/index.tsx @@ -154,11 +154,23 @@ const Home: NextPage = () => { logo

ABI Ninja

Interact with any contract on Ethereum

-
+
setNetwork(option ? option.value.toString() : "")} />
- -
+ {activeTab === TabName.addressAbi && ( +
{ + setActiveTab(TabName.verifiedContract); + setVerifiedContractAddress(""); + }} + > + ← go back +
+ )} + {/* placeholder to match height @todo make this better, bad practice! */} + {activeTab === TabName.verifiedContract &&
} +
{tabValues.map(tabValue => (
{ ) : (
{/* Tab navigation */} -
{ )}
- {activeTab === TabName.addressAbi && ( -
{ - setActiveTab(TabName.verifiedContract); - setVerifiedContractAddress(""); - }} - > - ← go back -
- )} -