Skip to content

Commit

Permalink
Merge pull request #325 from arcana-network/shrinath/hotfix-disable-g…
Browse files Browse the repository at this point in the history
…asless-mainnet

Hide gasless in mainnet
  • Loading branch information
shrinathprabhu authored Dec 9, 2023
2 parents 38c3eb7 + 00a2c25 commit c1e4902
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/app-configure/ConfigureSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,17 @@ const ConfigureTabs = computed(() => {
)
const appId = useAppId()
const app = appsStore.app(appId)
if (appsStore.app(appId).wallet_mode === WalletUIModes[1].value) {
if (app.wallet_mode === WalletUIModes[1].value) {
configureTabsCopy[configurePageIndex]?.subMenu?.push({
label: 'Keyspace',
type: 'keyspace',
icon: KeyspaceIcon,
})
}
if (appsStore.app(appId).chain_type?.toLowerCase() !== 'solana') {
if (app.network !== 'mainnet' && app.chain_type?.toLowerCase() !== 'solana') {
configureTabsCopy[configurePageIndex]?.subMenu?.push({
label: 'Gasless',
type: 'gasless',
Expand Down

0 comments on commit c1e4902

Please sign in to comment.