Upload contract support

This commit is contained in:
Serkan Reis
2023-12-07 08:03:27 +03:00
parent 1d5ba3aa78
commit 108e6e034d
3 changed files with 141 additions and 0 deletions
+11
View File
@@ -242,6 +242,17 @@ export const Sidebar = () => {
>
<Link href="/contracts/royaltyRegistry/">Royalty Registry</Link>
</li>
<Conditional test={NETWORK === 'testnet'}>
<li
className={clsx(
'text-lg font-bold hover:text-white hover:bg-stargaze-80 rounded',
router.asPath.includes('/contracts/upload/') ? 'text-white' : 'text-gray',
)}
tabIndex={-1}
>
<Link href="/contracts/upload/">Upload Contract</Link>
</li>
</Conditional>
</ul>
</li>
</ul>