mirror of
https://github.com/usememos/memos.git
synced 2025-10-19 10:47:17 +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]);
|
||||
setState((state) => {
|
||||
return {
|
||||
...state,
|
||||
uploadingFlag: false,
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue