diff --git a/.changeset/rotten-foxes-tickle.md b/.changeset/rotten-foxes-tickle.md new file mode 100644 index 0000000000..664642f809 --- /dev/null +++ b/.changeset/rotten-foxes-tickle.md @@ -0,0 +1,5 @@ +--- +"@udecode/plate-table": patch +--- + +Fix lodash import diff --git a/packages/table/src/merge/mergeTableCells.ts b/packages/table/src/merge/mergeTableCells.ts index 1cab0d1aea..fd9be85244 100644 --- a/packages/table/src/merge/mergeTableCells.ts +++ b/packages/table/src/merge/mergeTableCells.ts @@ -9,7 +9,7 @@ import { Value, withoutNormalizing, } from '@udecode/plate-common'; -import { cloneDeep } from 'lodash'; +import cloneDeep from 'lodash/cloneDeep.js'; import { ELEMENT_TABLE, ELEMENT_TH } from '../createTablePlugin'; import { getTableGridAbove } from '../queries';