mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
14 lines
362 B
TypeScript
14 lines
362 B
TypeScript
import { useMobxStore } from "@/hooks/store";
|
|
import { RootStore } from "@/store/root.store";
|
|
|
|
const useEditorSuggestions = () => {
|
|
const { mentionsStore }: RootStore = useMobxStore();
|
|
|
|
return {
|
|
// mentionSuggestions: mentionsStore.mentionSuggestions,
|
|
mentionHighlights: mentionsStore.mentionHighlights,
|
|
};
|
|
};
|
|
|
|
export default useEditorSuggestions;
|