fix(Table): fix the issue where table rows cannot be dragged (#6013)

* fix: fix the issue where table rows cannot be dragged

* fix: remove designable judgment
This commit is contained in:
Zeke Zhang 2025-01-08 11:07:23 +08:00 committed by GitHub
parent becf6f69c9
commit ce185fbb61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,11 +112,5 @@ const InternalDndContext = React.memo((props: Props) => {
InternalDndContext.displayName = 'InternalDndContext';
export const DndContext = (props: Props) => {
const { designable } = useDesignable();
if (!designable) {
return <>{props.children}</>;
}
return <InternalDndContext {...props} />;
};