Skip to content

Commit

Permalink
[bugfix]: prevent default (#334)
Browse files Browse the repository at this point in the history
* [bugfix]: prevent default on rating
  • Loading branch information
kgarner7 authored Oct 29, 2023
1 parent 4ec981d commit 9d780e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/renderer/components/rating/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ export const Rating = ({ onChange, ...props }: RatingProps) => {
onChange={(e) => {
debouncedOnChange(e);
}}
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
}}
/>
);
};

1 comment on commit 9d780e0

@vercel
Copy link

@vercel vercel bot commented on 9d780e0 Oct 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

feishin – ./

feishin-jeffvli.vercel.app
feishin.vercel.app
feishin-git-development-jeffvli.vercel.app

Please sign in to comment.