minor change

This commit is contained in:
arkml 2025-09-19 22:23:12 +05:30
parent 24b0ac7144
commit 86d39a8616

View file

@ -136,7 +136,7 @@ export function ComposeBoxPlayground({
setPendingImage({ url: imageUrl, previewSrc, mimeType: file.type, description: null });
}
}
} catch (err) {
} catch (err: any) {
// On local, S3 may be unconfigured. Fallback to legacy temp upload endpoint.
if (err?.name === 'AbortError') throw err;
usedFallback = true;