mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 17:58:55 +00:00
Describe a found bug
This commit is contained in:
1 parent
7ee5a6aa9a
commit
afd3012405
1 file changed
+1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user