Skip to content

Commit

Permalink
hotfix: replace network name (#757)
Browse files Browse the repository at this point in the history
Signed-off-by: bhavanakarwade <[email protected]>
  • Loading branch information
bhavanakarwade authored Aug 30, 2024
1 parent 8d49468 commit 40ac8a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const networkRenderOptions = (formikHandlers: { handleChange: (e: React.ChangeEv

let filteredNetworks = Object.keys(networks);
if (selectedMethod === DidMethod.POLYGON) {
filteredNetworks = filteredNetworks.filter(network => network === Network.TESTNET);
filteredNetworks = filteredNetworks.filter(network => network === Network.MAINNET);
}

return filteredNetworks.map((network) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const SharedAgentForm = ({

let filteredNetworks = Object.keys(networks);
if (selectedMethod === DidMethod.POLYGON) {
filteredNetworks = filteredNetworks.filter(network => network === Network.TESTNET);
filteredNetworks = filteredNetworks.filter(network => network === Network.MAINNET);
}

return filteredNetworks.map((network) => (
Expand Down

0 comments on commit 40ac8a3

Please sign in to comment.