Skip to content

Commit

Permalink
Merge pull request #50 from huntabyte/menubar-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Aug 18, 2023
2 parents 837e2dd + 77d1a14 commit 092d679
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/happy-numbers-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bits-ui": patch
---

Fix Menubar bug
1 change: 1 addition & 0 deletions src/lib/bits/menubar/ctx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function get() {
function set(props: MenubarProps) {
const menubar = createMenubar(removeUndefined(props));
setContext(NAME, menubar);

return {
...menubar,
updateOption: getOptionUpdater(menubar.options)
Expand Down

0 comments on commit 092d679

Please sign in to comment.