fix linter issues
This commit is contained in:
parent
9fb8406cdb
commit
d733609c61
|
|
@ -19,19 +19,7 @@ import { ThemeToggle } from "../theme-toggle";
|
|||
import { DEFAULT_LOGO_URL, SOCIAL_LINKS } from "@/constants/site-constants";
|
||||
import { toast } from "sonner";
|
||||
import { useEditor } from "@/hooks/use-editor";
|
||||
import {
|
||||
ArrowLeft01Icon,
|
||||
ArrowLeft02Icon,
|
||||
ArrowTurnBackwardIcon,
|
||||
Cancel01Icon,
|
||||
CancelSquareIcon,
|
||||
CircleArrowLeft01Icon,
|
||||
CommandIcon,
|
||||
Door01Icon,
|
||||
Logout05Icon,
|
||||
LogoutSquare01Icon,
|
||||
LogoutSquare02Icon,
|
||||
} from "@hugeicons/core-free-icons";
|
||||
import { CommandIcon, Logout05Icon } from "@hugeicons/core-free-icons";
|
||||
import { HugeiconsIcon } from "@hugeicons/react";
|
||||
import { ShortcutsDialog } from "./dialogs/shortcuts-dialog";
|
||||
import Image from "next/image";
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ import {
|
|||
ContextMenuItem,
|
||||
} from "@/components/ui/context-menu";
|
||||
import { usePreviewStore } from "@/stores/preview-store";
|
||||
import { HugeiconsIcon } from "@hugeicons/react";
|
||||
import { FullScreenIcon } from "@hugeicons/core-free-icons";
|
||||
|
||||
export function PreviewContextMenu({
|
||||
onToggleFullscreen,
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ function FontSection({
|
|||
})
|
||||
}
|
||||
/>
|
||||
<Select value={element.fontWeight} onValueChange={(value) => {}}>
|
||||
<Select value={element.fontWeight}>
|
||||
<SelectTrigger className="w-full" icon={<OcFontWeightIcon />}>
|
||||
<SelectValue placeholder="Select weight" />
|
||||
</SelectTrigger>
|
||||
|
|
|
|||
|
|
@ -154,7 +154,6 @@ export function TimelineElement({
|
|||
element={element}
|
||||
track={track}
|
||||
isSelected={isSelected}
|
||||
isBeingDragged={isBeingDragged}
|
||||
hasAudio={hasAudio}
|
||||
isMuted={isMuted}
|
||||
mediaAssets={mediaAssets}
|
||||
|
|
@ -226,7 +225,6 @@ function ElementInner({
|
|||
element,
|
||||
track,
|
||||
isSelected,
|
||||
isBeingDragged,
|
||||
hasAudio,
|
||||
isMuted,
|
||||
mediaAssets,
|
||||
|
|
@ -237,7 +235,6 @@ function ElementInner({
|
|||
element: TimelineElementType;
|
||||
track: TimelineTrack;
|
||||
isSelected: boolean;
|
||||
isBeingDragged: boolean;
|
||||
hasAudio: boolean;
|
||||
isMuted: boolean;
|
||||
mediaAssets: MediaAsset[];
|
||||
|
|
|
|||
|
|
@ -60,8 +60,8 @@ function Calendar({
|
|||
...classNames,
|
||||
}}
|
||||
components={{
|
||||
IconLeft: ({ ...props }) => <ChevronLeft className="size-4" />,
|
||||
IconRight: ({ ...props }) => <ChevronRight className="size-4" />,
|
||||
IconLeft: () => <ChevronLeft className="size-4" />,
|
||||
IconRight: () => <ChevronRight className="size-4" />,
|
||||
}}
|
||||
{...props}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue