Skip to content

Commit fb15717

Browse files
committed
fix: fab icon
1 parent 2877e02 commit fb15717

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)