Skip to content

Commit

Permalink
fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
IdrissMahjoubi committed Aug 20, 2024
1 parent 4befa55 commit 8976f6b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/search-editor/hooks/useInitializeDoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@ import { useEffect } from 'react';
import { EMPTY_PARAGRAPH_NODE, RemirrorJSON } from 'remirror';
import { ParagraphExtension } from 'remirror/extensions';

import { CustomKeymapExtension } from '../../extensions/custom-keymap-extension';
import { MentionExtension } from '../../extensions/mention-extension';

export function useInitializeDoc(props: {
getContext: () =>
| ReactFrameworkOutput<
ReactExtensions<
| ParagraphExtension
| CustomKeymapExtension
| PlaceholderExtension
| MentionExtension
ParagraphExtension | PlaceholderExtension | MentionExtension
>
>
| undefined;
Expand Down

0 comments on commit 8976f6b

Please sign in to comment.