Skip to content

Commit

Permalink
fix: menu not closing when selecting favorite (#691)
Browse files Browse the repository at this point in the history
Co-authored-by: Noggling <[email protected]>
  • Loading branch information
Noggling and Noggling authored Aug 15, 2024
1 parent d8269fc commit 8ac7ca1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/pr-691-2014284277.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

---
"fusion-project-portal": patch
---
Menu not closing when selecting a favorite.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const PinButtonContainer = ({ app, isLoading, onFavorite }: PinButtonProp
const pinApp = useCallback(
(event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => {
event.preventDefault();
event.stopPropagation();
onFavorite && onFavorite(app);
},
[app, onFavorite]
Expand Down

0 comments on commit 8ac7ca1

Please sign in to comment.