From 8f97161eb2a453e21beca0e39d246f930e59d3ef Mon Sep 17 00:00:00 2001 From: e Date: Tue, 7 Jan 2025 16:39:23 +0100 Subject: [PATCH] chore: code cleanup --- src/components/Inputs/ImageUpload.tsx | 2 +- src/components/ModForm.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Inputs/ImageUpload.tsx b/src/components/Inputs/ImageUpload.tsx index 717183a..eba3e49 100644 --- a/src/components/Inputs/ImageUpload.tsx +++ b/src/components/Inputs/ImageUpload.tsx @@ -66,7 +66,7 @@ export const ImageUpload = React.memo( ? 'Drop the files here...' : isDragReject ? 'Drop the files here (one more more unsupported types)...' - : 'TODO' + : 'Drop the files here...' : 'Click or drag files here', [isDragAccept, isDragActive, isDragReject, isFileDialogActive] ) diff --git a/src/components/ModForm.tsx b/src/components/ModForm.tsx index 5c67b9d..795f53e 100644 --- a/src/components/ModForm.tsx +++ b/src/components/ModForm.tsx @@ -48,7 +48,6 @@ export const ModForm = () => { const [formState, setFormState] = useState( initializeFormState(mod) ) - console.log(`[debug] screenshots`, formState.screenshotsUrls) const editorRef = useRef(null) useEffect(() => {