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 React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||||
import { toast } from "react-hot-toast";
|
import { toast } from "react-hot-toast";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { useLocalStorage } from "react-use";
|
import useLocalStorage from "react-use/lib/useLocalStorage";
|
||||||
import { upsertMemoResource } from "@/helpers/api";
|
import { upsertMemoResource } from "@/helpers/api";
|
||||||
import { TAB_SPACE_WIDTH, UNKNOWN_ID } from "@/helpers/consts";
|
import { TAB_SPACE_WIDTH, UNKNOWN_ID } from "@/helpers/consts";
|
||||||
import { clearContentQueryParam } from "@/helpers/utils";
|
import { clearContentQueryParam } from "@/helpers/utils";
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import { useLocalStorage } from "react-use";
|
import useLocalStorage from "react-use/lib/useLocalStorage";
|
||||||
import { compare } from "semver";
|
import { compare } from "semver";
|
||||||
import * as api from "@/helpers/api";
|
import * as api from "@/helpers/api";
|
||||||
import { useGlobalStore } from "@/store/module";
|
import { useGlobalStore } from "@/store/module";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue