From 722dcdd88face3724c77d23bc36a00524e552551 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Thu, 26 Mar 2026 13:52:30 +0100 Subject: fix: resolve typescript/lint errors --- apps/web/src/app/projects/page.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apps/web/src/app/projects') diff --git a/apps/web/src/app/projects/page.tsx b/apps/web/src/app/projects/page.tsx index 9618de27..f32ce2b9 100644 --- a/apps/web/src/app/projects/page.tsx +++ b/apps/web/src/app/projects/page.tsx @@ -6,6 +6,7 @@ import { useRouter } from "next/navigation"; import type { KeyboardEvent, MouseEvent } from "react"; import { useEffect, useState } from "react"; import { toast } from "sonner"; +import type { EditorCore } from "@/core"; import { MigrationDialog } from "@/components/editor/dialogs/migration-dialog"; import { StoragePersistenceDialog } from "@/components/editor/dialogs/storage-persistence-dialog"; import { Button } from "@/components/ui/button"; @@ -359,7 +360,7 @@ async function deleteProjects({ editor, ids, }: { - editor: ReturnType; + editor: EditorCore; ids: string[]; }) { await editor.project.deleteProjects({ ids }); @@ -369,7 +370,7 @@ async function duplicateProjects({ editor, ids, }: { - editor: ReturnType; + editor: EditorCore; ids: string[]; }) { await editor.project.duplicateProjects({ ids }); @@ -380,7 +381,7 @@ async function renameProject({ id, name, }: { - editor: ReturnType; + editor: EditorCore; id: string; name: string; }) { -- cgit v1.3.1