mirror of
https://github.com/usememos/memos.git
synced 2025-10-09 22:06:53 +08:00
chore: fix linter
This commit is contained in:
parent
5ab845d92e
commit
d84a88e805
3 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
import classNames from "classnames";
|
||||
import { memo, useEffect, useRef, useState } from "react";
|
||||
import useCurrentUser from "@/hooks/useCurrentUser";
|
||||
import { MemoNamePrefix, useMemoStore } from "@/store/v1";
|
||||
import { useMemoStore } from "@/store/v1";
|
||||
import { Node, NodeType } from "@/types/node";
|
||||
import { useTranslate } from "@/utils/i18n";
|
||||
import Renderer from "./Renderer";
|
||||
|
|
|
@ -4,8 +4,6 @@ import { useContext } from "react";
|
|||
import toast from "react-hot-toast";
|
||||
import showCreateMemoRelationDialog from "@/components/CreateMemoRelationDialog";
|
||||
import Icon from "@/components/Icon";
|
||||
import { UNKNOWN_ID } from "@/helpers/consts";
|
||||
import { MemoNamePrefix } from "@/store/v1";
|
||||
import { MemoRelation_Type } from "@/types/proto/api/v2/memo_relation_service";
|
||||
import { EditorRefActions } from "../Editor";
|
||||
import { MemoEditorContext } from "../types";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue