mirror of
https://github.com/makeplane/plane.git
synced 2026-07-11 04:51:55 +02:00
14 lines
364 B
TypeScript
14 lines
364 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;
|