Skip to content

Commit

Permalink
fix Missing break statement in switch case (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik authored Jan 27, 2023
2 parents fbd8a3a + ac9bf82 commit ad51aa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/components/button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export const Button = ({
break;
case EventTypesEnum.UPLOAD_COMPLETED:
if (onUploadComplete) onUploadComplete(data.value);
break;
case EventTypesEnum.CLOSE_WIDGET:
if (onWidgetClose) onWidgetClose();
break;
Expand Down

0 comments on commit ad51aa9

Please sign in to comment.