Skip to content

Commit

Permalink
Remove Kiln, add Goerli and marked Prater as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
remyroy committed Aug 9, 2022
1 parent 6e62058 commit d9b4d4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/react/components/NetworkPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ export const NetworkPicker = (props: NetworkPickerProps) => {
props.setNetwork(selected.target.value as Network);
}

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

return (
<Container>
<Header>Network</Header>
Expand All @@ -70,9 +72,9 @@ export const NetworkPicker = (props: NetworkPickerProps) => {
<FormControlLabel value={Network.MAINNET} control={<Radio />} label={Network.MAINNET} />
<Divider />
<SubHeader>Testnets</SubHeader>
<FormControlLabel value={Network.PRATER} control={<Radio />} label={Network.PRATER} />
<FormControlLabel value={Network.GOERLI} control={<Radio />} label={Network.GOERLI} />
<FormControlLabel value={Network.ROPSTEN} control={<Radio />} label={Network.ROPSTEN} />
<FormControlLabel value={Network.KILN} control={<Radio />} label={Network.KILN} />
<FormControlLabel value={Network.PRATER} control={<Radio />} label={praterLabel} />
</RadioGroup>
</FormControl>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/react/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export enum StepSequenceKey {

export enum Network {
MAINNET = "Mainnet",
GOERLI = "Goerli",
PRATER = "Prater",
KINTSUGI = "Kintsugi",
ROPSTEN = "Ropsten",
Expand Down

0 comments on commit d9b4d4f

Please sign in to comment.