From 1d34bbf4612b9c26b18d0dfe42c1f3dd8e59af9e Mon Sep 17 00:00:00 2001 From: corgifist Date: Sat, 2 Aug 2025 14:24:16 +0300 Subject: [PATCH] eslint is not arguing anymore --- src/app/(dashboard)/page.tsx | 70 ++++++++----------- src/app/(dashboard)/settings/storage/page.tsx | 3 - src/app/(editor)/editor/[uuid]/layout.tsx | 29 -------- .../static-back-button/StaticBackButton.tsx | 7 +- .../StaticSidebarTrigger.tsx | 6 +- .../swipe-to-delete/SwipeToDelete.tsx | 13 ++-- 6 files changed, 40 insertions(+), 88 deletions(-) diff --git a/src/app/(dashboard)/page.tsx b/src/app/(dashboard)/page.tsx index 9aa1351..7d30017 100644 --- a/src/app/(dashboard)/page.tsx +++ b/src/app/(dashboard)/page.tsx @@ -1,6 +1,6 @@ "use client"; -import React, { createContext, Dispatch, forwardRef, ReactNode, SetStateAction, useContext, useId, useState } from "react"; +import React, { createContext, Dispatch, ReactNode, SetStateAction, useContext, useState } from "react"; import { useLiveQuery } from "dexie-react-hooks"; import { addProject, db, deleteProject } from "@/lib/db"; import { Label } from "@/components/ui/label"; @@ -108,8 +108,30 @@ const ProjectInfoFormSchema = z.object({ type ProjectInfoForm = z.infer; +const ProjectInfoFormFields = ({ form }: { form: UseFormReturn }) => ( + <> + ( + + Title + + + + + + )} /> + ( + + Description + +