@loja-integrada/admin-components 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2695,6 +2695,7 @@ var ActionBarComponent = function ActionBarComponent(_ref) {
2695
2695
  className: "lg:hidden"
2696
2696
  }, React.Children.map(children, function (_ref3) {
2697
2697
  var props = _ref3.props;
2698
+ if (!props.children) return;
2698
2699
  return React.createElement("button", {
2699
2700
  className: 'px-4 py-1 text-base-1' + (props != null && props.loading ? ' pointer-events-none' : ''),
2700
2701
  onClick: props == null ? void 0 : props.onClick