Skip to content

Commit

Permalink
fix: menus now close when returning to the menu
Browse files Browse the repository at this point in the history
  • Loading branch information
liana-p committed Sep 1, 2024
1 parent 92cb0b6 commit 0e996ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/narrat/src/stores/menu-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ export const useMenu = defineStore('menu', {
this.activeMenu = 'menu';
}
},
reset() {
this.activeMenu = false;
},
},
});

Expand Down

0 comments on commit 0e996ef

Please sign in to comment.