outaozhen 3 lat temu
rodzic
commit
2c47ed4031
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/pages/Schema/Option/index.tsx

+ 1 - 1
src/pages/Schema/Option/index.tsx

@@ -179,7 +179,7 @@ const Option = () => {
     }
   }, [state.activeID])
 
-  const DraggableBodyRow = ({ className, style, ...restProps }) => {
+  const DraggableBodyRow = ({ ...restProps }) => {
     if (state.menuDataItems?.length) {
       const index = state.menuDataItems?.findIndex(x => x.index === restProps['data-row-key'])
       return <SortableItem index={index} {...restProps} />