Skip to content

Commit

Permalink
Merge pull request #842 from yaacov/close-label-on-close-icon
Browse files Browse the repository at this point in the history
🐞  Make sure close icon close the label
  • Loading branch information
yaacov authored Jan 23, 2024
2 parents 54e1871 + 46bde12 commit 944cb8b
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ export const ShowWelcomeCardButton: React.FC = () => {
onClick={() => {
setData({ hideWelcomeCardByContext: false });
}}
onClose={(event) => {
event.preventDefault();
event.stopPropagation();
}}
onClose={() => null}
style={{ cursor: 'pointer' }}
data-testid="show-welcome-card"
>
Expand Down

0 comments on commit 944cb8b

Please # to comment.