From 2c51089091c8182ee137452d9b37629ab9fc1b0c Mon Sep 17 00:00:00 2001 From: Jared Vu Date: Tue, 18 Jun 2024 08:38:42 -0700 Subject: [PATCH] fix(new-market-filter): remove isolated filter (#688) --- src/views/forms/NewMarketForm/NewMarketSelectionStep.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/forms/NewMarketForm/NewMarketSelectionStep.tsx b/src/views/forms/NewMarketForm/NewMarketSelectionStep.tsx index 9981f2033..757ffba9c 100644 --- a/src/views/forms/NewMarketForm/NewMarketSelectionStep.tsx +++ b/src/views/forms/NewMarketForm/NewMarketSelectionStep.tsx @@ -9,7 +9,7 @@ import { AlertType } from '@/constants/alerts'; import { ButtonAction, ButtonSize, ButtonType } from '@/constants/buttons'; import { DialogTypes } from '@/constants/dialogs'; import { STRING_KEYS } from '@/constants/localization'; -import { isDev, isMainnet } from '@/constants/networks'; +import { isMainnet } from '@/constants/networks'; import { TOKEN_DECIMALS } from '@/constants/numbers'; import { NUM_ORACLES_TO_QUALIFY_AS_SAFE, @@ -113,9 +113,8 @@ export const NewMarketSelectionStep = ({ return false; } - // Disable Isolated markets if the user is not on Staging or Local deployment if (marketType === 'PERPETUAL_MARKET_TYPE_ISOLATED') { - return isDev && exchangeConfigJson.length > 0; + return exchangeConfigJson.length > 0; } if (exchangeConfigJson.length >= NUM_ORACLES_TO_QUALIFY_AS_SAFE) {