Skip to content

Commit

Permalink
Merge pull request #2833 from AndreyMarchuk/table-cloneDeep-fix
Browse files Browse the repository at this point in the history
Normalize cloneDeep import
  • Loading branch information
zbeyens authored Dec 27, 2023
2 parents a0d5765 + bb55c89 commit e8ef4b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rotten-foxes-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@udecode/plate-table": patch
---

Fix lodash import
2 changes: 1 addition & 1 deletion packages/table/src/merge/mergeTableCells.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit e8ef4b9

Please sign in to comment.