mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
d5fd69354e
* chore: remove unused hooks * chore: removed useProjectMembers hook * chore: removed issue hooks * fix: build errors
16 lines
542 B
TypeScript
16 lines
542 B
TypeScript
import { IMentionHighlight, IMentionSuggestion } from "@plane/rich-text-editor";
|
|
import useUser from "./use-user";
|
|
import { useMobxStore } from "lib/mobx/store-provider";
|
|
import { RootStore } from "store/root";
|
|
|
|
const useEditorSuggestions = (_workspaceSlug: string | undefined, _projectId: string | undefined) => {
|
|
const { mentionsStore }: RootStore = useMobxStore();
|
|
|
|
return {
|
|
mentionSuggestions: mentionsStore.mentionSuggestions,
|
|
mentionHighlights: mentionsStore.mentionHighlights,
|
|
};
|
|
};
|
|
|
|
export default useEditorSuggestions;
|