Skip to content

Commit

Permalink
Update network order
Browse files Browse the repository at this point in the history
  • Loading branch information
quietbits committed Mar 12, 2024
1 parent 6c4615a commit 0a0debc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions src/components/NetworkIndicator/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
--NetworkSelector-dot-color: var(--sds-clr-lilac-09);
}

&[data-network="testnet"] {
// TODO: update color
--NetworkSelector-dot-color: var(--sds-clr-gray-09);
}

&[data-network="mainnet"] {
--NetworkSelector-dot-color: var(--sds-clr-green-09);
}
Expand Down
14 changes: 7 additions & 7 deletions src/components/NetworkSelector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ const NetworkOptions: Network[] = [
rpcUrl: "https://rpc-futurenet.stellar.org",
passphrase: "Test SDF Future Network ; October 2022",
},
{
id: "mainnet",
label: "Mainnet",
horizonUrl: "https://horizon.stellar.org",
rpcUrl: "",
passphrase: "Public Global Stellar Network ; September 2015",
},
{
id: "testnet",
label: "Testnet",
horizonUrl: "https://horizon-testnet.stellar.org",
rpcUrl: "https://soroban-testnet.stellar.org",
passphrase: "Test SDF Network ; September 2015",
},
{
id: "mainnet",
label: "Mainnet",
horizonUrl: "https://horizon.stellar.org",
rpcUrl: "",
passphrase: "Public Global Stellar Network ; September 2015",
},
{
id: "custom",
label: "Custom",
Expand Down

0 comments on commit 0a0debc

Please sign in to comment.