Skip to content

Commit

Permalink
Fix NoticeIcon broken clear action, fix ant-design#2851
Browse files Browse the repository at this point in the history
This should be fix for ant-design#2851
  • Loading branch information
jakubknejzlik authored Jan 15, 2019
1 parent e8253b0 commit eef491a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NoticeIcon/NoticeList.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default function NoticeList({
})}
</List>
{showClear ? (
<div className={styles.clear} onClick={onClear}>
<div className={styles.clear} onClick={() => onClear(title)}>
{locale.clear} {title}
</div>
) : null}
Expand Down

0 comments on commit eef491a

Please sign in to comment.