diff --git a/content/footer.json b/content/footer.json new file mode 100644 index 000000000..d4a89329f --- /dev/null +++ b/content/footer.json @@ -0,0 +1,16 @@ +{ + "links": [ + { + "name": "Docs", + "url": "https://docs.oceanprotocol.com" + }, + { + "name": "GitHub", + "url": "https://github.com/oceanprotocol" + }, + { + "name": "Discord", + "url": "https://discord.gg/TnXjkR5" + } + ] +} diff --git a/content/site.json b/content/site.json index 925aa7235..c26a17974 100644 --- a/content/site.json +++ b/content/site.json @@ -3,7 +3,7 @@ "siteTagline": "A marketplace to find, publish and trade data sets in the Ocean Network.", "siteUrl": "https://v4.market.oceanprotocol.com", "siteImage": "/share.png", - "copyright": "All Rights Reserved. Powered by [Ocean Protocol](https://oceanprotocol.com)", + "copyright": "All Rights Reserved. Powered by ", "menu": [ { "name": "Publish", diff --git a/src/@context/Pool/index.tsx b/src/@context/Pool/index.tsx index fb171e6d1..e0fa7941a 100644 --- a/src/@context/Pool/index.tsx +++ b/src/@context/Pool/index.tsx @@ -59,13 +59,7 @@ function PoolProvider({ children }: { children: ReactNode }): ReactElement { const [userPoolShares, setUserPoolShares] = useState('0') const fetchAllData = useCallback(async () => { - if ( - !accountId || - !asset?.chainId || - !asset?.accessDetails?.addressOrId || - !owner - ) - return + if (!asset?.chainId || !asset?.accessDetails?.addressOrId || !owner) return const response = await getPoolData( asset.chainId, diff --git a/src/@utils/nft.ts b/src/@utils/nft.ts index afb0c1456..166a447e0 100644 --- a/src/@utils/nft.ts +++ b/src/@utils/nft.ts @@ -50,7 +50,7 @@ export function generateNftMetadata(): NftMetadata { const imageData = `data:image/svg+xml,${encodeSvg(svg.outerHTML)}` const newNft: NftMetadata = { - name: 'Ocean Asset NFT', + name: 'Ocean Data NFT', symbol: 'OCEAN-NFT', description: `This NFT represents an asset in the Ocean Protocol v4 ecosystem.`, external_url: 'https://market.oceanprotocol.com', diff --git a/src/components/@shared/FormInput/InputElement.tsx b/src/components/@shared/FormInput/InputElement.tsx index 8b82bbd2a..d6f6a7d4a 100644 --- a/src/components/@shared/FormInput/InputElement.tsx +++ b/src/components/@shared/FormInput/InputElement.tsx @@ -65,9 +65,7 @@ export default function InputElement({ disabled={disabled} multiple={multiple} > - {field !== undefined && field.value === '' && ( - - )} + {field !== undefined && field.value === '' &&