diff options
-rw-r--r-- | src/client/views/collections/CollectionCarouselView.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionCarouselView.tsx b/src/client/views/collections/CollectionCarouselView.tsx index 3fbc6ec45..c5910b0be 100644 --- a/src/client/views/collections/CollectionCarouselView.tsx +++ b/src/client/views/collections/CollectionCarouselView.tsx @@ -45,7 +45,6 @@ export class CollectionCarouselView extends CollectionSubView(CarouselDocument) onContentClick = () => ScriptCast(this.layoutDoc.onChildClick); @computed get content() { const index = NumCast(this.layoutDoc._itemIndex); - const layoutTemp = this.props.DataDoc ? true : undefined; const curDoc = this.childLayoutPairs?.[index]; return !(curDoc?.layout instanceof Doc) ? (null) : <> @@ -56,8 +55,6 @@ export class CollectionCarouselView extends CollectionSubView(CarouselDocument) renderDepth={this.props.renderDepth + 1} LayoutTemplate={this.props.ChildLayoutTemplate} LayoutTemplateString={this.props.ChildLayoutString} - NativeWidth={undefined} - NativeHeight={undefined} Document={curDoc.layout} DataDoc={curDoc.data} PanelHeight={this.panelHeight} |