diff --git a/packages/core/client/src/schema-component/antd/table-v2/Table.tsx b/packages/core/client/src/schema-component/antd/table-v2/Table.tsx index e301467e6..1a9d61f38 100644 --- a/packages/core/client/src/schema-component/antd/table-v2/Table.tsx +++ b/packages/core/client/src/schema-component/antd/table-v2/Table.tsx @@ -259,7 +259,6 @@ export const Table: any = observer( } = { ...others1, ...others2 } as any; const field = useArrayField(others); const columns = useTableColumns(others); - const schema = useFieldSchema(); const collection = useCollection_deprecated(); const isTableSelector = schema?.parent?.['x-decorator'] === 'TableSelectorProvider';