fix: typescript error from old usage

This commit is contained in:
Maze Winther
2025-08-05 06:28:45 +02:00
parent 8f6c487c26
commit 1bed89d55f
2 changed files with 16 additions and 16 deletions
+3 -1
View File
@@ -7,6 +7,8 @@ import { useTimelineStore } from "./timeline-store";
import { generateUUID } from "@/lib/utils";
import { CanvasSize, CanvasMode } from "@/types/editor";
export const DEFAULT_CANVAS_SIZE: CanvasSize = { width: 1920, height: 1080 };
const DEFAULT_PROJECT: TProject = {
id: generateUUID(),
name: "Untitled",
@@ -18,7 +20,7 @@ const DEFAULT_PROJECT: TProject = {
blurIntensity: 8,
bookmarks: [],
fps: 30,
canvasSize: { width: 1920, height: 1080 },
canvasSize: DEFAULT_CANVAS_SIZE,
canvasMode: "preset",
};