diff --git a/src/components/generics/Form.js b/src/components/generics/Form.js index 908e80bd..154db8c5 100644 --- a/src/components/generics/Form.js +++ b/src/components/generics/Form.js @@ -152,7 +152,13 @@ class Form extends Component { return ( {withTooltip( - !!a.button ? a.button : {a.icon}, + !!a.button ? ( + a.button + ) : ( + + {a.icon} + + ), a.tooltip, )}