|
|
|
@ -4,11 +4,11 @@ import { toast } from "react-hot-toast";
|
|
|
|
|
import { useTranslation } from "react-i18next";
|
|
|
|
|
import useLocalStorage from "react-use/lib/useLocalStorage";
|
|
|
|
|
import { memoServiceClient } from "@/grpcweb";
|
|
|
|
|
import { TAB_SPACE_WIDTH, UNKNOWN_ID } from "@/helpers/consts";
|
|
|
|
|
import { TAB_SPACE_WIDTH } from "@/helpers/consts";
|
|
|
|
|
import { isValidUrl } from "@/helpers/utils";
|
|
|
|
|
import useCurrentUser from "@/hooks/useCurrentUser";
|
|
|
|
|
import { useGlobalStore, useResourceStore, useTagStore } from "@/store/module";
|
|
|
|
|
import { MemoNamePrefix, extractMemoIdFromName, useMemoStore, useUserStore } from "@/store/v1";
|
|
|
|
|
import { extractMemoIdFromName, useMemoStore, useUserStore } from "@/store/v1";
|
|
|
|
|
import { MemoRelation, MemoRelation_Type } from "@/types/proto/api/v2/memo_relation_service";
|
|
|
|
|
import { Memo, Visibility } from "@/types/proto/api/v2/memo_service";
|
|
|
|
|
import { Resource } from "@/types/proto/api/v2/resource_service";
|
|
|
|
|