From ee283311ecbc2ab16c4ca7c28294d7d40101bf8e Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 12 Oct 2022 19:13:35 -0700 Subject: [PATCH] Do not render icon of action button if icon is not set. Closes #2203 #2202 --- web/components/action-buttons/ActionButton/ActionButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/action-buttons/ActionButton/ActionButton.tsx b/web/components/action-buttons/ActionButton/ActionButton.tsx index 48b5585e5..abdf06a07 100644 --- a/web/components/action-buttons/ActionButton/ActionButton.tsx +++ b/web/components/action-buttons/ActionButton/ActionButton.tsx @@ -31,7 +31,7 @@ export const ActionButton: FC = ({ onClick={onButtonClicked} style={{ backgroundColor: color }} > - {description} + {icon && {description}} {title}