Skip to content

Commit

Permalink
DOP-4051: Fix Undefined Icon Warning in Frontend (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar authored Sep 28, 2023
1 parent 35b85a2 commit 62ffa8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Button = ({
size={size}
darkMode={darkMode}
variant={variant}
rightGlyph={<Icon glyph={rightGlyph} />}
rightGlyph={rightGlyph ? <Icon glyph={rightGlyph} /> : null}
{...componentProps}
>
{argument.map((child, i) => (
Expand Down

0 comments on commit 62ffa8c

Please sign in to comment.