diff --git a/src/components/config-provider/tests/__snapshots__/config-provider.test.tsx.snap b/src/components/config-provider/tests/__snapshots__/config-provider.test.tsx.snap index 9fa333fe70..9efc579419 100644 --- a/src/components/config-provider/tests/__snapshots__/config-provider.test.tsx.snap +++ b/src/components/config-provider/tests/__snapshots__/config-provider.test.tsx.snap @@ -4626,7 +4626,7 @@ exports[`ConfigProvider should display the text as ar-SA 1`] = ` @@ -9263,7 +9263,7 @@ exports[`ConfigProvider should display the text as da-DK 1`] = ` @@ -13900,7 +13900,7 @@ exports[`ConfigProvider should display the text as de-DE 1`] = ` @@ -18537,7 +18537,7 @@ exports[`ConfigProvider should display the text as en 1`] = ` @@ -23174,7 +23174,7 @@ exports[`ConfigProvider should display the text as es 1`] = ` @@ -27811,7 +27811,7 @@ exports[`ConfigProvider should display the text as fa-IR 1`] = ` @@ -32448,7 +32448,7 @@ exports[`ConfigProvider should display the text as fr-FR 1`] = ` @@ -37085,7 +37085,7 @@ exports[`ConfigProvider should display the text as hu 1`] = ` @@ -41722,7 +41722,7 @@ exports[`ConfigProvider should display the text as id-ID 1`] = ` @@ -46359,7 +46359,7 @@ exports[`ConfigProvider should display the text as in-ID 1`] = ` @@ -50996,7 +50996,7 @@ exports[`ConfigProvider should display the text as it-IT 1`] = ` @@ -55633,7 +55633,7 @@ exports[`ConfigProvider should display the text as ja-JP 1`] = ` @@ -60270,7 +60270,7 @@ exports[`ConfigProvider should display the text as kk-KZ 1`] = ` @@ -64907,7 +64907,7 @@ exports[`ConfigProvider should display the text as ko-KR 1`] = ` @@ -69544,7 +69544,7 @@ exports[`ConfigProvider should display the text as ms-MY 1`] = ` @@ -74181,7 +74181,7 @@ exports[`ConfigProvider should display the text as nb-NO 1`] = ` @@ -78818,7 +78818,7 @@ exports[`ConfigProvider should display the text as nl-NL 1`] = ` @@ -83455,7 +83455,7 @@ exports[`ConfigProvider should display the text as pt-BR 1`] = ` @@ -88092,7 +88092,7 @@ exports[`ConfigProvider should display the text as ru 1`] = ` @@ -92729,7 +92729,7 @@ exports[`ConfigProvider should display the text as th-TH 1`] = ` @@ -97366,7 +97366,7 @@ exports[`ConfigProvider should display the text as tr-TR 1`] = ` @@ -102003,7 +102003,7 @@ exports[`ConfigProvider should display the text as vi-VN 1`] = ` @@ -106640,7 +106640,7 @@ exports[`ConfigProvider should display the text as zh-CH 1`] = ` @@ -111277,7 +111277,7 @@ exports[`ConfigProvider should display the text as zh-HK 1`] = ` @@ -115914,7 +115914,7 @@ exports[`ConfigProvider should display the text as zh-TW 1`] = ` diff --git a/src/components/image-uploader/image-uploader.tsx b/src/components/image-uploader/image-uploader.tsx index 699218b142..109bc0814e 100644 --- a/src/components/image-uploader/image-uploader.tsx +++ b/src/components/image-uploader/image-uploader.tsx @@ -191,7 +191,7 @@ export const ImageUploader = forwardRef( id: idCountRef.current++, status: 'pending', file, - } as Task) + }) as Task ) setTasks(prev => [...getFinalTasks(prev), ...newTasks]) @@ -318,6 +318,7 @@ export const ImageUploader = forwardRef( )} {!props.disableUpload && ( ( type='file' className={`${classPrefix}-input`} onChange={onChange} - aria-hidden /> )} diff --git a/src/components/image-uploader/tests/__snapshots__/image-uploader.test.tsx.snap b/src/components/image-uploader/tests/__snapshots__/image-uploader.test.tsx.snap index f52534bbe5..1a474ed825 100644 --- a/src/components/image-uploader/tests/__snapshots__/image-uploader.test.tsx.snap +++ b/src/components/image-uploader/tests/__snapshots__/image-uploader.test.tsx.snap @@ -136,7 +136,7 @@ exports[`ImageUploader \`preview\` & \`onPreview\` prop 1`] = ` @@ -239,7 +239,7 @@ exports[`ImageUploader custom upload button 1`] = ` @@ -445,7 +445,7 @@ exports[`ImageUploader upload status 1`] = `