Skip to content

Commit

Permalink
fix: 🐛 fix info visibility detect strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-xiao-jian committed Jun 5, 2020
1 parent 0ed44a6 commit a0ce4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Icon: FunctionComponent<IconProps> = (props) => {
})
);
const visibility = {
info: info !== null || dot,
info: !!info || dot,
image: external,
};

Expand Down

0 comments on commit a0ce4a8

Please sign in to comment.