fix:avoid unnecessary import. (#237)

Co-authored-by: lixiancan <lixc.percy@gmail.com>
This commit is contained in:
Percy Lee
2024-02-02 14:03:07 +08:00
committed by GitHub
parent 71b19fa9ce
commit 1868e27c0f
7 changed files with 9 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ import { secondsToTimestamp } from "@renderer/lib/utils";
import WaveSurfer from "wavesurfer.js";
import { useDebounce } from "@uidotdev/usehooks";
import { AppSettingsProviderContext } from "@renderer/context";
import { cloneDeep } from "lodash";
import cloneDeep from "lodash/cloneDeep";
import {
MediaPlayer as VidstackMediaPlayer,
MediaProvider,

View File

@@ -9,7 +9,8 @@ import {
PopoverAnchor,
} from "@renderer/components/ui";
import { SelectionMenu } from "@renderer/components";
import { debounce, uniq } from "lodash";
import uniq from "lodash/uniq";
import debounce from "lodash/debounce";
import Mark from "mark.js";
export const StoryViewer = (props: {