diff --git a/packages/react-app/package.json b/packages/react-app/package.json index 39a597a4..b914a708 100644 --- a/packages/react-app/package.json +++ b/packages/react-app/package.json @@ -123,13 +123,13 @@ }, "scripts": { "start": "cross-env HTTPS=true npm run sync-assets && react-app-rewired start", - "start:local": "cross-env REACT_APP_CHAIN_ID=1337 yarn start", + "start:local": "cross-env REACT_APP_DEFAULT_CHAIN_ID=1337 yarn start", "start:rinkeby": "cross-env REACT_APP_CHAIN_ID=4 yarn start", - "start:rinkeby-staging": "cross-env REACT_APP_CHAIN_ID=4 REACT_APP_STAGING=true yarn start", - "start:gnosis": "cross-env REACT_APP_CHAIN_ID=100 yarn start", + "start:rinkeby-staging": "cross-env REACT_APP_DEFAULT_CHAIN_ID=4 REACT_APP_STAGING=true yarn start", + "start:gnosis": "cross-env REACT_APP_DEFAULT_CHAIN_ID=100 yarn start", "build": "npm run sync-assets && react-app-rewired build", - "build:gnosis": "cross-env REACT_APP_CHAIN=100 && yarn build", - "build:rinkeby": "cross-env REACT_APP_APP_NAME=conviction-beta REACT_APP_CHAIN_ID=4 yarn build", + "build:gnosis": "cross-env REACT_APP_DEFAULT_CHAIN_ID=100 && yarn build", + "build:rinkeby": "cross-env REACT_APP_DEFAULT_CHAIN_ID=4 yarn build", "lint": "eslint src --no-error-on-unmatched-pattern --ext js,jsx,ts,tsx", "lint-fix": "eslint --fix src --no-error-on-unmatched-pattern", "format": "prettier --write \"src/**/*.+(js|jsx|json|css|md)\"", diff --git a/packages/react-app/src/components/account/account-module.tsx b/packages/react-app/src/components/account/account-module.tsx index f0a1fadb..bba972e4 100644 --- a/packages/react-app/src/components/account/account-module.tsx +++ b/packages/react-app/src/components/account/account-module.tsx @@ -161,7 +161,11 @@ function AccountModule({ compact = false }: Props) { return ( {wallet.isWrongNetwork ? ( -