From a295df973f0aaa1a18dbe51b376e738134daf44e Mon Sep 17 00:00:00 2001 From: Nicholas Koben Kao Date: Wed, 24 Jan 2024 22:28:50 -0800 Subject: [PATCH] clean up --- web/src/app/(app)/api/volume-upload/route.ts | 1 - web/src/components/custom-form/checkpoint-input.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/app/(app)/api/volume-upload/route.ts b/web/src/app/(app)/api/volume-upload/route.ts index 70edf27..b21741e 100644 --- a/web/src/app/(app)/api/volume-upload/route.ts +++ b/web/src/app/(app)/api/volume-upload/route.ts @@ -32,7 +32,6 @@ export async function POST(request: Request) { }) .where(eq(checkpointTable.id, checkpoint_id)); } else { - // console.log(data); await db .update(checkpointTable) .set({ diff --git a/web/src/components/custom-form/checkpoint-input.tsx b/web/src/components/custom-form/checkpoint-input.tsx index 7c24e26..9a21cb9 100644 --- a/web/src/components/custom-form/checkpoint-input.tsx +++ b/web/src/components/custom-form/checkpoint-input.tsx @@ -1,4 +1,4 @@ -// NOTE: this is work in progress +// NOTE: this is WIP for doing client side validation for civitai model downloading import type { AutoFormInputComponentProps } from "../ui/auto-form/types"; import { FormControl, FormItem, FormLabel } from "../ui/form"; import { LoadingIcon } from "@/components/LoadingIcon";