Skip to content

Commit 277f739

Browse files
committed
fix
1 parent dc5e6c6 commit 277f739

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

apps/www/src/registry/default/plate-ui/mention-element.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ import React from 'react';
33
import type { TMentionElement } from '@udecode/plate-mention';
44

55
import { cn, withRef } from '@udecode/cn';
6-
import { getHandler } from '@udecode/plate-common';
6+
import { IS_APPLE, getHandler } from '@udecode/plate-common';
77
import { useElement } from '@udecode/plate-common/react';
8-
import { IS_APPLE } from '@udecode/utils';
98
import { useFocused, useSelected } from 'slate-react';
109

1110
import { useMounted } from '@/registry/default/hooks/use-mounted';

templates/plate-playground-template/src/components/plate-ui/mention-element.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import React from 'react';
22
import { cn, withRef } from '@udecode/cn';
3-
import { getHandler } from '@udecode/plate-common';
3+
import { getHandler, IS_APPLE } from '@udecode/plate-common';
44
import { useElement } from '@udecode/plate-common/react';
5-
import { IS_APPLE } from '@udecode/utils';
65
import { useFocused, useSelected } from 'slate-react';
76

87
import { useMounted } from '@/hooks/use-mounted';

0 commit comments

Comments
 (0)