diff --git a/src/pages/gas.tsx b/src/pages/gas.tsx index 5b0d0cc0..a2358cad 100644 --- a/src/pages/gas.tsx +++ b/src/pages/gas.tsx @@ -91,9 +91,6 @@ export default function Index(props: Props) {
  • Optimism Gas Tracker
  • -
  • - Polygon Gas Tracker -
  • Base Gas Tracker
  • diff --git a/src/pages/gas/[network].tsx b/src/pages/gas/[network].tsx index 69898d36..10e060f4 100644 --- a/src/pages/gas/[network].tsx +++ b/src/pages/gas/[network].tsx @@ -100,9 +100,6 @@ export default function Index(props: Props) {
  • Optimism Gas Tracker
  • -
  • - Polygon Gas Tracker -
  • Base Gas Tracker
  • @@ -157,18 +154,15 @@ export default function Index(props: Props) { export const getStaticPaths: GetStaticPaths = async () => { return { paths: [ - { - params: { network: 'polygon' }, - }, - { - params: { network: 'optimism' }, - }, { params: { network: 'arbitrum' }, }, { params: { network: 'base' }, }, + { + params: { network: 'optimism' }, + }, ], fallback: false, } @@ -179,7 +173,7 @@ export const getStaticProps: GetStaticProps = async (context) => const service = new MarkdownContentService() const categories = await service.GetCategories() - if (!network || !['polygon', 'optimism', 'base', 'arbitrum'].includes(network)) { + if (!network || !['arbitrum', 'base', 'mainnet', 'optimism'].includes(network)) { return { props: null, notFound: true,