From d939f188fd9e2c88cf6e4ce8fa1bcda8d6e32cd0 Mon Sep 17 00:00:00 2001 From: Max Isaev Date: Wed, 31 Aug 2022 16:41:25 +0300 Subject: [PATCH] fix: remove static class prop fix #244 --- src/react-sortable.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/react-sortable.tsx b/src/react-sortable.tsx index 1a63522..a01ab8e 100644 --- a/src/react-sortable.tsx +++ b/src/react-sortable.tsx @@ -37,8 +37,7 @@ const store: Store = { dragging: null }; export class ReactSortable extends Component< ReactSortableProps > { - /* eslint-disable-next-line */ - static defaultProps: Partial> = { + defaultProps: Partial> = { clone: (item) => item, };