From 3d04d527f3be29557ef56755989f459d311eb955 Mon Sep 17 00:00:00 2001 From: chenos Date: Sat, 21 Aug 2021 22:24:14 +0800 Subject: [PATCH] fix: TypeError: Class constructor MouseSensor cannot be invoked without 'new' --- packages/client/src/schemas/kanban/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/client/src/schemas/kanban/index.tsx b/packages/client/src/schemas/kanban/index.tsx index 5f8fa42b3..f5e5f12fa 100644 --- a/packages/client/src/schemas/kanban/index.tsx +++ b/packages/client/src/schemas/kanban/index.tsx @@ -135,6 +135,9 @@ class MyMouseSensor extends MouseSensor { }, }, ]; + constructor(props) { + super(props); + } } const InternalKanban = observer((props: any) => {