Skip to content

Commit

Permalink
feat: remove AMM devnet (#881)
Browse files Browse the repository at this point in the history
The AMM dev network will be decommissioned on the 12/8
  • Loading branch information
ckniffen authored Nov 28, 2023
1 parent 5c3150e commit cfa8026
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ VITE_OSANO_ID=
VITE_MAINNET_LINK=
VITE_TESTNET_LINK=
VITE_DEVNET_LINK=
VITE_AMM_LINK=
VITE_XAHAU_MAINNET_LINK=
VITE_XAHAU_TESTNET_LINK=
VITE_CUSTOMNETWORK_LINK=
Expand Down
1 change: 0 additions & 1 deletion public/locales/en-US/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"network_name_testnet": "Testnet",
"network_name_mainnet": "Mainnet",
"network_name_devnet": "Devnet",
"network_name_amm": "AMM-Devnet",
"network_name_xahau_mainnet": "Xahau Mainnet",
"network_name_xahau_testnet": "Xahau Testnet",
"network_name_custom": "Custom",
Expand Down
1 change: 0 additions & 1 deletion public/locales/es-ES/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"network_name_testnet": "Testnet",
"network_name_mainnet": "Mainnet",
"network_name_devnet": "Devnet",
"network_name_amm": "AMM-Devnet",
"network_name_xahau_mainnet": "Xahau Mainnet",
"network_name_xahau_testnet": "Xahau Testnet",
"network_name_custom": "Personalizada",
Expand Down
1 change: 0 additions & 1 deletion public/locales/fr-FR/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"network_name_testnet": "Testnet",
"network_name_mainnet": "Mainnet",
"network_name_devnet": "Devnet",
"network_name_amm": "AMM-Devnet",
"network_name_xahau_mainnet": "Xahau Mainnet",
"network_name_xahau_testnet": "Xahau Testnet",
"network_name_custom": "Personnalisé",
Expand Down
1 change: 0 additions & 1 deletion public/locales/ja-JP/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"network_name_testnet": "Testnet",
"network_name_mainnet": "Mainnet",
"network_name_devnet": "Devnet",
"network_name_amm": "AMM-Devnet",
"network_name_xahau_mainnet": "Xahau Mainnet",
"network_name_xahau_testnet": "Xahau Testnet",
"network_name_custom": "Custom",
Expand Down
1 change: 0 additions & 1 deletion public/locales/ko-KR/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"network_name_testnet": "Testnet",
"network_name_mainnet": "Mainnet",
"network_name_devnet": "Devnet",
"network_name_amm": "AMM-Devnet",
"network_name_xahau_mainnet": "Xahau Mainnet",
"network_name_xahau_testnet": "Xahau Testnet",
"network_name_custom": "Custom",
Expand Down
6 changes: 1 addition & 5 deletions src/containers/Header/NetworkPicker/NetworkPicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,11 @@
@include dropdown-network-item($devnet, $blue-purple-40);
}

&.network-amm {
@include dropdown-network-item($amm, $blue-60);
}

/* stylelint-disable-next-line selector-class-pattern -- needed here for variables */
&.network-xahau_mainnet {
@include dropdown-network-item($xahau-mainnet, $green-50);
}

/* stylelint-disable-next-line selector-class-pattern -- needed here for variables */
&.network-xahau_testnet {
@include dropdown-network-item($xahau-testnet, $magenta-40);
Expand Down
1 change: 0 additions & 1 deletion src/containers/Header/NetworkPicker/NetworkPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const STATIC_ENV_LINKS: Record<string, string | undefined> = {
mainnet: process.env.VITE_MAINNET_LINK,
testnet: process.env.VITE_TESTNET_LINK,
devnet: process.env.VITE_DEVNET_LINK,
amm: process.env.VITE_AMM_LINK,
xahau_mainnet: process.env.VITE_XAHAU_MAINNET_LINK,
xahau_testnet: process.env.VITE_XAHAU_TESTNET_LINK,
}
Expand Down
1 change: 0 additions & 1 deletion src/containers/shared/NetworkContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const ENV_NETWORK_MAP: Record<string, string> = {
mainnet: 'main',
testnet: 'test',
devnet: 'dev',
amm: 'amm-dev',
xahau_mainnet: 'xahau-main',
xahau_testnet: 'xahau-test',
}
Expand Down

0 comments on commit cfa8026

Please sign in to comment.