Skip to content

Commit

Permalink
chore: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikhaugstulen committed Sep 26, 2023
1 parent 1b9a5d7 commit aa096e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core_modules/capture-ui/Icons/ChevronIcon.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const ChevronIconPlain = ({ open, onOpen, onClose, dataTest, disabled, classes }
if (disabled) {
return null;
}
return open ? onClose : onOpen;
return open ? onClose() : onOpen();
};

useEffect(() => {
Expand Down

0 comments on commit aa096e0

Please sign in to comment.