plane/space/hooks/use-editor-suggestions.tsx

14 lines
368 B
TypeScript
Raw Normal View History

2024-03-19 14:38:35 +00:00
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;