Skip to content

Commit

Permalink
fix(List): fix getContainer for sortable container (#190)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Standrik <[email protected]>
  • Loading branch information
astandrik and Anton Standrik authored Jun 20, 2022
1 parent be004a6 commit efb9257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/List/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const b = block('list');
const DEFAULT_ITEM_HEIGHT = 28;
const SortableListItem = SortableElement(ListItem);
const SortableListContainer = SortableContainer(ListContainer, {withRef: true});
const SortableSimpleContainer = SortableContainer(SimpleContainer);
const SortableSimpleContainer = SortableContainer(SimpleContainer, {withRef: true});

type ListState<T> = {
items: ListProps<T>['items'];
Expand Down

0 comments on commit efb9257

Please sign in to comment.