Skip to content

Commit

Permalink
Only show switcher if more than one network exists
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroncox committed Mar 7, 2025
1 parent 1d91e78 commit 7a79926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/networkswitch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
>{currentNetwork.chain.name}</span
>

{#if context.settings.data.advancedMode}
{#if options.length > 1 && context.settings.data.advancedMode}
<div class="font-regular m-0 flex items-center gap-1 pr-1 text-base text-zinc-400">
<span use:melt={$label}>{m.change_network()}</span>
<ChevronDown
Expand Down

0 comments on commit 7a79926

Please sign in to comment.