Skip to content

Commit

Permalink
fix: remove nav buttons from initial selection on setting page (elk-z…
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 authored Apr 12, 2024
1 parent 14162f8 commit 9c916e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/settings/SettingsBottomNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const defaultSelectedNavButtonNames = computed<NavButtonName[]>(() =>
: ['explore', 'local', 'federated', 'moreMenu'],
)
const navButtonNamesSetting = useLocalStorage<NavButtonName[]>(STORAGE_KEY_BOTTOM_NAV_BUTTONS, defaultSelectedNavButtonNames.value)
const selectedNavButtonNames = ref(navButtonNamesSetting.value)
const selectedNavButtonNames = ref<NavButtonName[]>([])
const selectedNavButtons = computed<NavButton[]>(() =>
selectedNavButtonNames.value.map(name =>
Expand Down

0 comments on commit 9c916e0

Please sign in to comment.