Closed tyler17 closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
governance-portal-v2 | ✅ Ready (Inspect) | Visit Preview | Feb 22, 2024 8:46pm |
Network Restriction Adjustment in NetworkAlertModal.tsx
A modification was made in a component, NetworkAlertModal.tsx
. The change restricts switching to the GOERLI
network, which is a test network, and allows switching only to MAINNET
, the primary and functional network. This will improve user experience by preventing unintentional switching to non-functional or test environments.
Condition Update in isSupportedChain Function
The isSupportedChain
function in chain.ts
has been updated with an additional condition. This condition checks whether the environment is not production (process.env.NODE_ENV
is not equal to 'production'
), or if the chain information is allowed to show in production (CHAIN_INFO[chainId].showInProduction
is true). This enhancement ensures the function works more accurately by considering production environment situations. It will improve the stability of operations by ensuring only the appropriate chain information is being used in the production environment.
show the unsupported network modal if connected on goerli. The user then gets disconnected when they dismiss the modal
![Uploading Screen Shot 2024-02-22 at 12.50.55 PM.png…]()