diff --git a/client/coral-framework/hocs/withSlotElements.js b/client/coral-framework/hocs/withSlotElements.js index e02a9d5a7..a4b39c907 100644 --- a/client/coral-framework/hocs/withSlotElements.js +++ b/client/coral-framework/hocs/withSlotElements.js @@ -105,7 +105,10 @@ const createHOC = ({ const { plugins } = this.context; const slots = this.getSlots(props); const sizes = this.getSizes(props, slots.length); - const defaultComponents = this.getSizes(props, slots.length); + const defaultComponents = this.getDefaultComponents( + props, + slots.length + ); const slotPassthrough = this.getPassthrough(props); if (process.env.NODE_ENV !== 'production') {