mirror of
https://github.com/usememos/memos.git
synced 2025-10-27 23:06:24 +08:00
chore: fix react use imports
This commit is contained in:
parent
626ff5e3a7
commit
f0f42aea9f
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ import { isNumber, last, uniq } from "lodash-es";
|
|||
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||
import { toast } from "react-hot-toast";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useLocalStorage } from "react-use";
|
||||
import useLocalStorage from "react-use/lib/useLocalStorage";
|
||||
import { upsertMemoResource } from "@/helpers/api";
|
||||
import { TAB_SPACE_WIDTH, UNKNOWN_ID } from "@/helpers/consts";
|
||||
import { clearContentQueryParam } from "@/helpers/utils";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { useEffect, useState } from "react";
|
||||
import { useLocalStorage } from "react-use";
|
||||
import useLocalStorage from "react-use/lib/useLocalStorage";
|
||||
import { compare } from "semver";
|
||||
import * as api from "@/helpers/api";
|
||||
import { useGlobalStore } from "@/store/module";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue