plane/space/hooks/use-editor-suggestions.tsx
2024-03-19 20:08:35 +05:30

14 lines
368 B
TypeScript

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