refactor: reduce code duplication

This commit is contained in:
Maze Winther
2025-09-01 16:19:14 +02:00
parent 350b55081c
commit dd02e31380
2 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import { CanvasSize, CanvasMode } from "@/types/editor";
export const DEFAULT_CANVAS_SIZE: CanvasSize = { width: 1920, height: 1080 };
export const DEFAULT_FPS = 30;
function createMainScene(): Scene {
export function createMainScene(): Scene {
return {
id: generateUUID(),
name: "Main Scene",