Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens committed Oct 1, 2024
1 parent 5bead98 commit aa34564
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/big-shirts-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@udecode/plate-table': patch
---

fix lodash imports
2 changes: 1 addition & 1 deletion packages/table/src/lib/merge/insertTableColumn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
withoutNormalizing,
} from '@udecode/plate-common';
import { getEditorPlugin } from '@udecode/plate-common';
import cloneDeep from 'lodash/cloneDeep';
import cloneDeep from 'lodash/cloneDeep.js';
import { Path } from 'slate';

import type {
Expand Down
2 changes: 1 addition & 1 deletion packages/table/src/lib/merge/insertTableRow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
setNodes,
withoutNormalizing,
} from '@udecode/plate-common';
import cloneDeep from 'lodash/cloneDeep';
import cloneDeep from 'lodash/cloneDeep.js';
import { Path } from 'slate';

import type {
Expand Down
2 changes: 1 addition & 1 deletion packages/table/src/react/merge/deleteColumn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
someNode,
withoutNormalizing,
} from '@udecode/plate-common';
import cloneDeep from 'lodash/cloneDeep';
import cloneDeep from 'lodash/cloneDeep.js';

import {
type TTableCellElement,
Expand Down
2 changes: 1 addition & 1 deletion packages/table/src/react/merge/deleteRow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
someNode,
} from '@udecode/plate-common';
import { findNodePath } from '@udecode/plate-common/react';
import cloneDeep from 'lodash/cloneDeep';
import cloneDeep from 'lodash/cloneDeep.js';

import {
type TTableCellElement,
Expand Down

0 comments on commit aa34564

Please sign in to comment.