Skip to content

Commit

Permalink
fix: menu not closing when selecting favorite
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Aug 12, 2024
1 parent 66114d6 commit 36396a5
Showing 1 changed file with 1 addition and 0 deletions.
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 36396a5

Please sign in to comment.