testnet4 followup, switch offline msg (#75)

This commit is contained in:
aleka
2023-10-16 17:26:29 -04:00
committed by GitHub
parent dd087ae786
commit bc5569c4c9
3 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export const useSelectedNetwork = (): {
useEffect(() => {
if (
import.meta.env.MODE === 'production' &&
ENVIRONMENT_CONFIG_MAP[selectedNetwork].dydxChainId === 'dydx-testnet-3'
ENVIRONMENT_CONFIG_MAP[selectedNetwork].dydxChainId === 'dydx-testnet-4'
) {
dispatch(
openDialog({ type: DialogTypes.ExchangeOffline, dialogProps: { preventClose: true } })