diff --git a/app.config.js b/app.config.js index 47ccea62c..d082373d1 100644 --- a/app.config.js +++ b/app.config.js @@ -11,10 +11,10 @@ module.exports = { // List of chainIds which metadata cache queries will return by default. // This preselects the Chains user preferences. - chainIds: [1, 137, 56, 1285, 246], + chainIds: [3, 4, 80001, 1287], // List of all supported chainIds. Used to populate the Chains user preferences list. - chainIdsSupported: [1, 3, 4, 137, 80001, 1287, 56, 2021000, 1285, 246], + chainIdsSupported: [3, 4, 80001, 1287], infuraProjectId: process.env.NEXT_PUBLIC_INFURA_PROJECT_ID || 'xxx', diff --git a/content/site.json b/content/site.json index 76db05eae..d3e5f861a 100644 --- a/content/site.json +++ b/content/site.json @@ -16,7 +16,7 @@ } ], "warning": { - "main": "We are in beta. Please familiarize yourself with [the market](https://oceanprotocol.com/technology/marketplaces), [the risks](https://blog.oceanprotocol.com/on-staking-on-data-in-ocean-market-3d8e09eb0a13), and the [Terms of Use](/terms).", + "main": "", "polygonPublish": "Only republish data sets with a pool from ETH Mainnet into Polygon/Matic if the liquidity is **less than or equal to 1000 OCEAN in the original pool**. Doing otherwise will lead to [purgatory](https://github.com/oceanprotocol/list-purgatory) for the data set in Polygon/Matic." }, "announcement": { diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index b88d859f7..e467cbbe2 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -10,7 +10,6 @@ import PrivacyPreferenceCenter from '../Privacy/PrivacyPreferenceCenter' import styles from './index.module.css' import { ToastContainer } from 'react-toastify' import { useRouter } from 'next/router' -// import waves from '@oceanprotocol/art/waves/waves.png' import content from '../../../content/purgatory.json' export default function App({ @@ -26,7 +25,9 @@ export default function App({ return (
- {router.pathname === '/' && } + {router.pathname === '/' && warning.main !== '' && ( + + )}
{isInPurgatory && ( diff --git a/src/components/Header/UserPreferences/Networks/NetworksList.tsx b/src/components/Header/UserPreferences/Networks/NetworksList.tsx index 2cfa80d9f..a25c94766 100644 --- a/src/components/Header/UserPreferences/Networks/NetworksList.tsx +++ b/src/components/Header/UserPreferences/Networks/NetworksList.tsx @@ -13,10 +13,10 @@ export default function NetworksList({ )) - return ( + return content.length ? ( <>

{title}

{content}
- ) + ) : null }