hotfix/typecheck (#123)
This commit is contained in:
parent
17e9d7d8ab
commit
bf9c061250
|
@ -92,7 +92,7 @@ export const SolidSwiper = (props: Props) => {
|
||||||
if (isValid) {
|
if (isValid) {
|
||||||
try {
|
try {
|
||||||
setLoading(true)
|
setLoading(true)
|
||||||
const results: string[] = []
|
const results: UploadedFile[] = []
|
||||||
for (const file of selectedFiles) {
|
for (const file of selectedFiles) {
|
||||||
const result = await handleFileUpload(file)
|
const result = await handleFileUpload(file)
|
||||||
results.push(result.url)
|
results.push(result.url)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user