Skip to content

Commit

Permalink
Merge pull request #2906 from udecode/Liboul-fix-lodash-last-import
Browse files Browse the repository at this point in the history
Update `lodash.last` import in `getLastEntryEnclosedInToggle.ts`
  • Loading branch information
zbeyens authored Jan 31, 2024
2 parents ee596a9 + 7fcf61c commit 6a4302c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/shiny-steaks-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@udecode/plate-toggle": patch
---

Fix `lodash.last` import
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PlateEditor, TNodeEntry, Value } from '@udecode/plate-common';
import last from 'lodash/last';
import last from 'lodash/last.js';

import { buildToggleIndex } from '../toggle-controller-store';

Expand Down

0 comments on commit 6a4302c

Please sign in to comment.