From afd3012405207e6e62aeec04f19f73dbe596e3f0 Mon Sep 17 00:00:00 2001 From: Tanish Manku Date: Mon, 15 Dec 2025 15:49:28 -0800 Subject: [PATCH] Describe a found bug --- .../app/src/components/reusable/UploadModal3D/UploadFiles3D.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/apps/editor3d/app/src/components/reusable/UploadModal3D/UploadFiles3D.tsx b/frontend/apps/editor3d/app/src/components/reusable/UploadModal3D/UploadFiles3D.tsx index a4dd7dc55d..d4d7442619 100644 --- a/frontend/apps/editor3d/app/src/components/reusable/UploadModal3D/UploadFiles3D.tsx +++ b/frontend/apps/editor3d/app/src/components/reusable/UploadModal3D/UploadFiles3D.tsx @@ -61,6 +61,7 @@ export const UploadFiles3D = ({ ); const handleSubmit = () => { + // BUG: Setting the state here might not update the state value until the next render so the old file would be uploaded. if (!assetFile.value) { setAssetFile((curr) => ({ ...curr,