summaryrefslogtreecommitdiff
path: root/apps/web/src/app
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-03-26 13:52:30 +0100
committerMaze Winther <mazewinther@gmail.com>2026-03-29 15:49:30 +0200
commit722dcdd88face3724c77d23bc36a00524e552551 (patch)
tree9dbf561de29592d5a346b8c7bfd27b5d31345bc8 /apps/web/src/app
parent8db3bead13441a5882d8689dfc6a9f09c82375d9 (diff)
downloadopencut-722dcdd88face3724c77d23bc36a00524e552551.tar.gz
fix: resolve typescript/lint errors
Diffstat (limited to 'apps/web/src/app')
-rw-r--r--apps/web/src/app/layout.tsx2
-rw-r--r--apps/web/src/app/projects/page.tsx7
2 files changed, 5 insertions, 4 deletions
diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx
index f8e6040f..b4ef36c7 100644
--- a/apps/web/src/app/layout.tsx
+++ b/apps/web/src/app/layout.tsx
@@ -35,7 +35,7 @@ export default function RootLayout({
crossOrigin="anonymous"
strategy="beforeInteractive"
/>
-
+
{/* code to figma */}
{/* <script
dangerouslySetInnerHTML={{
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<typeof useEditor>;
+ editor: EditorCore;
ids: string[];
}) {
await editor.project.deleteProjects({ ids });
@@ -369,7 +370,7 @@ async function duplicateProjects({
editor,
ids,
}: {
- editor: ReturnType<typeof useEditor>;
+ editor: EditorCore;
ids: string[];
}) {
await editor.project.duplicateProjects({ ids });
@@ -380,7 +381,7 @@ async function renameProject({
id,
name,
}: {
- editor: ReturnType<typeof useEditor>;
+ editor: EditorCore;
id: string;
name: string;
}) {