Skip to content

Commit 78d810b

Browse files
committed
Hide the disabled Pontus-X option from the layer selector on mainnet
Currently, the Pontus-X layer is enabled and visible in the layer selector, because the Pontus-X Testnet runtime is running on the Oasis Testnet, and we want to expose it to the public. However, we don't have a Pontus-X mainnet, and there are no immediate plans to have one, so in the layer selector for the mainnet, the Pontus-X option is disabled; it says "coming soon". I think it is not useful to have this disabled option here (on the mainnet), but until now, we couldn't hide it, because we wanted to see this layer on testnet. However, we have recently gained the ability to show/hide different layers (in the layer selector) per different network, so now we can hide it from the mainnet, while keeping it from the testnet. This commit does that. x
1 parent cce5c40 commit 78d810b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.changelog/1709.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Hide the disabled Pontus-X option from the layer selector on mainnet

src/app/utils/route-utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ invertSpecialScopePaths()
6969
export const hiddenScopes: SearchScope[] = [
7070
{ network: Network.testnet, layer: Layer.pontusxdev },
7171
{ network: Network.mainnet, layer: Layer.pontusxdev },
72+
{ network: Network.mainnet, layer: Layer.pontusxtest },
7273
// { network: Network.mainnet, layer: Layer.sapphire }, // This is only for testing
7374
]
7475

0 commit comments

Comments
 (0)