mirror of
https://github.com/usememos/memos.git
synced 2025-11-13 10:53:00 +08:00
chore: fix uploading flag
This commit is contained in:
parent
f67676ac43
commit
c8ff3fa2ee
1 changed files with 6 additions and 0 deletions
|
|
@ -57,6 +57,12 @@ const UploadResourceButton = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
context.setResourceList([...context.resourceList, ...createdResourceList]);
|
context.setResourceList([...context.resourceList, ...createdResourceList]);
|
||||||
|
setState((state) => {
|
||||||
|
return {
|
||||||
|
...state,
|
||||||
|
uploadingFlag: false,
|
||||||
|
};
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue