0
0
mirror of https://github.com/makeplane/plane synced 2024-06-14 14:31:34 +00:00
plane/web/hooks/use-editor-suggestions.tsx
2023-12-11 14:36:34 +05:30

14 lines
368 B
TypeScript

import { useMobxStore } from "lib/mobx/store-provider";
import { RootStore } from "store_legacy/root";
const useEditorSuggestions = () => {
const { mentionsStore }: RootStore = useMobxStore();
return {
mentionSuggestions: mentionsStore.mentionSuggestions,
mentionHighlights: mentionsStore.mentionHighlights,
};
};
export default useEditorSuggestions;