Skip to content

Commit 7c55a95

Browse files
authored
Merge pull request #4878 from GeekyAnts/fix/fab-icon
fix: fab icon
2 parents e6c8a58 + fb15717 commit 7c55a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/primitives/Button/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const Button = (
104104
);
105105

106106
const boxChildren = (child: any) => {
107-
return <Box _text={_text}>{child}</Box>;
107+
return child ? <Box _text={_text}>{child}</Box> : null;
108108
};
109109

110110
return (

0 commit comments

Comments
 (0)