chore: code cleanup

This commit is contained in:
e 2025-01-07 16:39:23 +01:00
parent 7244591d34
commit 8f97161eb2
2 changed files with 1 additions and 2 deletions

View File

@ -66,7 +66,7 @@ export const ImageUpload = React.memo(
? 'Drop the files here...' ? 'Drop the files here...'
: isDragReject : isDragReject
? 'Drop the files here (one more more unsupported types)...' ? 'Drop the files here (one more more unsupported types)...'
: 'TODO' : 'Drop the files here...'
: 'Click or drag files here', : 'Click or drag files here',
[isDragAccept, isDragActive, isDragReject, isFileDialogActive] [isDragAccept, isDragActive, isDragReject, isFileDialogActive]
) )

View File

@ -48,7 +48,6 @@ export const ModForm = () => {
const [formState, setFormState] = useState<ModFormState>( const [formState, setFormState] = useState<ModFormState>(
initializeFormState(mod) initializeFormState(mod)
) )
console.log(`[debug] screenshots`, formState.screenshotsUrls)
const editorRef = useRef<EditorRef>(null) const editorRef = useRef<EditorRef>(null)
useEffect(() => { useEffect(() => {