Direct image upload #184
@ -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]
|
||||||
)
|
)
|
||||||
|
@ -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(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user