@7shifts/sous-chef 3.43.1-beta.1 → 3.43.1-beta.2

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.
package/dist/index.js CHANGED
@@ -7854,7 +7854,10 @@ var FooterContainer = function FooterContainer(_ref2) {
7854
7854
  var children = _ref2.children,
7855
7855
  testId = _ref2.testId;
7856
7856
  var childrenItens = React__default.Children.toArray(children);
7857
- var hasCustomAlignment = childrenItens.length === 1 && childrenItens[0].type === Inline;
7857
+ var hasCustomAlignment = childrenItens.length === 1 && checkIsComponent(childrenItens[0], {
7858
+ component: Inline,
7859
+ displayName: 'Inline'
7860
+ });
7858
7861
  console.log({
7859
7862
  hasCustomAlignment: hasCustomAlignment,
7860
7863
  items: childrenItens.length,