Skip to content

Commit

Permalink
use object
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisamir98 committed Dec 19, 2024
1 parent efc6e22 commit 4bdc579
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const QualityFeedbackModal = () => {
return null;
}

const handleCloseModal = (skipNotification = false) => {
const handleCloseModal = ({skipNotification = false} = {}) => {
if (!selfUser) {
setQualityFeedbackModalShown(false);
return;
Expand Down Expand Up @@ -105,7 +105,7 @@ export const QualityFeedbackModal = () => {
[Segmentation.CALL.QUALITY_REVIEW_LABEL]: RatingListLabel.DISMISSED,
});

handleCloseModal(true);
handleCloseModal({skipNotification: true});
};

return (
Expand Down

0 comments on commit 4bdc579

Please sign in to comment.