Skip to content

Commit

Permalink
Merge branch 'main' into changeset-release/main
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens authored Jan 9, 2025
2 parents fd34f1e + 2bb41f1 commit c10a93a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/lib/utils/isType.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/** @jsx jsxt */
import { createSlateEditor } from '@udecode/plate-core';
import { jsxt } from '@udecode/plate-test-utils';
import { createEditor } from '@udecode/slate';

import { createSlateEditor } from '../editor';
import { isType } from './isType';

jsxt;
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/lib/utils/isType.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { SlateEditor } from '@udecode/plate-core';

import castArray from 'lodash/castArray.js';

import type { SlateEditor } from '../editor';

/** Does the node match the type provided. */
export const isType = (
editor: SlateEditor,
Expand Down

0 comments on commit c10a93a

Please sign in to comment.