From 00929332a5b46d5e0218f208614e072cfbb56eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Longoni?= Date: Fri, 28 May 2021 17:08:34 -0300 Subject: [PATCH] add NETWORKSNAMES --- src/components/AppLayout/Header/components/NetworkLabel.tsx | 1 + src/utils/constants.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/AppLayout/Header/components/NetworkLabel.tsx b/src/components/AppLayout/Header/components/NetworkLabel.tsx index 16eca95d..974b8e2d 100644 --- a/src/components/AppLayout/Header/components/NetworkLabel.tsx +++ b/src/components/AppLayout/Header/components/NetworkLabel.tsx @@ -5,6 +5,7 @@ import Col from 'src/components/layout/Col' import Paragraph from 'src/components/layout/Paragraph' import { getNetworkInfo } from 'src/config' import { border, md, screenSm, sm, xs, fontColor } from 'src/theme/variables' +/* import { NETWORKSNAMES } from 'src/utils/constants' */ const networkInfo = getNetworkInfo() diff --git a/src/utils/constants.ts b/src/utils/constants.ts index cc889658..c903a831 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -34,3 +34,4 @@ export const SPENDING_LIMIT_MODULE_ADDRESS = export const KNOWN_MODULES = { [SPENDING_LIMIT_MODULE_ADDRESS]: 'Spending limit', } +export const NETWORKSNAMES = ['Ethereum', 'xDai', 'Polygon', 'BSC', 'Arbitrium', 'EWC', 'Rinkeby', 'Volta']