Skip to content

Commit

Permalink
Unify Goerli/Prater networks in picker
Browse files Browse the repository at this point in the history
  • Loading branch information
remyroy committed Aug 9, 2022
1 parent d9b4d4f commit 02fe055
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/react/components/NetworkPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const NetworkPicker = (props: NetworkPickerProps) => {
props.setNetwork(selected.target.value as Network);
}

const praterLabel = `${Network.PRATER} (Deprecated)`;
const goerliLabel = `${Network.GOERLI}/${Network.PRATER}`;

return (
<Container>
Expand All @@ -72,9 +72,8 @@ export const NetworkPicker = (props: NetworkPickerProps) => {
<FormControlLabel value={Network.MAINNET} control={<Radio />} label={Network.MAINNET} />
<Divider />
<SubHeader>Testnets</SubHeader>
<FormControlLabel value={Network.GOERLI} control={<Radio />} label={Network.GOERLI} />
<FormControlLabel value={Network.GOERLI} control={<Radio />} label={goerliLabel} />
<FormControlLabel value={Network.ROPSTEN} control={<Radio />} label={Network.ROPSTEN} />
<FormControlLabel value={Network.PRATER} control={<Radio />} label={praterLabel} />
</RadioGroup>
</FormControl>
</div>
Expand Down

0 comments on commit 02fe055

Please sign in to comment.