diff options
author | bobzel <zzzman@gmail.com> | 2020-09-08 21:34:04 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-08 21:34:04 -0400 |
commit | 1be539c23152ddb555bcae2d6f1ae73fbd320f0e (patch) | |
tree | 12956fc8284b1074661948ca05aab8817137c305 /src | |
parent | e50297237ee3dfa1e652c0d46cb9d860e5cd5b20 (diff) |
from last
Diffstat (limited to 'src')
-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} |