diff --git a/src/common/Icon.tsx b/src/common/Icon.tsx index 82780df9..77dd1a18 100644 --- a/src/common/Icon.tsx +++ b/src/common/Icon.tsx @@ -39,7 +39,8 @@ export type Icons = | "folder" | "bookmark" | "film" - | "camera"; + | "camera" + | "trash"; export type IconDirection = "up" | "down" | "left" | "right"; @@ -446,6 +447,19 @@ function getIcon(name: Icons): { viewBox: string; el: JSX.Element } { /> ) }; + case "trash": + return { + viewBox: "0 0 512 512", + el: ( + <> + + + + ) + }; default: return { viewBox: "0 -10 1000 1000", diff --git a/src/editor/Editor.tsx b/src/editor/Editor.tsx index 5fb11644..131a75d0 100644 --- a/src/editor/Editor.tsx +++ b/src/editor/Editor.tsx @@ -12,7 +12,6 @@ import type { Video } from "@/videos/types"; import RecordingsManager from "@/libs/recorder/recordingsManager"; import { useDispatch, useSelector } from "react-redux"; import { videoBookmarkAdded, videoBookmarkRemoved, videoRenamed } from "@/videos/videosSlice"; -import Notifications from "@/libs/helpers/notifications"; import { type RootState } from "@/app/store"; import { toReadableTimeFromSeconds } from "@/libs/helpers/extensions/number"; import Tooltip from "@/common/Tooltip"; @@ -107,34 +106,13 @@ export default function VideoEditor() {