diff --git a/src/components/atoms/ExplorerLink.tsx b/src/components/atoms/ExplorerLink.tsx index c2829547e..9f5b23850 100644 --- a/src/components/atoms/ExplorerLink.tsx +++ b/src/components/atoms/ExplorerLink.tsx @@ -33,7 +33,7 @@ export default function ExplorerLink({ setOceanConfig(oceanInitialConfig) setUrl(oceanInitialConfig?.explorerUri) } - if (ocean === undefined) { + if (oceanConfig === undefined) { initOcean() } }, [config, networkId, ocean]) diff --git a/src/components/organisms/AssetActions/Pool/index.tsx b/src/components/organisms/AssetActions/Pool/index.tsx index 5aa603bac..cb26f3af9 100644 --- a/src/components/organisms/AssetActions/Pool/index.tsx +++ b/src/components/organisms/AssetActions/Pool/index.tsx @@ -65,7 +65,7 @@ export default function Pool(): ReactElement { const data = useStaticQuery(contentQuery) const content = data.content.edges[0].node.childContentJson.pool - const { accountId, networkId } = useWeb3() + const { accountId } = useWeb3() const { ocean } = useOcean() const { isInPurgatory, ddo, owner, price, refreshInterval, isAssetNetwork } = useAsset() @@ -278,15 +278,15 @@ export default function Pool(): ReactElement {
Pool {receipts?.map((receipt) => (
  • - + edited{' '}
  • ))}
  • - + published