diff --git a/src/components/List/List.tsx b/src/components/List/List.tsx index 6fa0f480be..30f9a269ae 100644 --- a/src/components/List/List.tsx +++ b/src/components/List/List.tsx @@ -367,7 +367,6 @@ export class List extends React.Component, ListState {items.map((_item, index) => { return ( diff --git a/src/components/List/components/SimpleContainer.tsx b/src/components/List/components/SimpleContainer.tsx index 293227dbe1..2d39243b25 100644 --- a/src/components/List/components/SimpleContainer.tsx +++ b/src/components/List/components/SimpleContainer.tsx @@ -8,15 +8,12 @@ import type {ListItem} from './ListItem'; export type SimpleContainerProps = React.PropsWithChildren<{ itemCount: number; provided?: DroppableProvided; - sortable?: boolean; }>; type RefsList = Record>; export type SimpleContainerState = { refsList: RefsList; - minWidth?: number; - minHeight?: number; }; function getRefs(count: number) { @@ -50,24 +47,12 @@ export class SimpleContainer extends React.Component React.cloneElement(child as React.ReactElement, {ref: this.state.refsList[index]}), ); - return ( -
- {children} -
- ); + return
{children}
; } scrollToItem(index: number) {