mirror of
https://github.com/usememos/memos.git
synced 2024-09-20 22:46:16 +08:00
chore: fix uploading flag
This commit is contained in:
parent
f67676ac43
commit
c8ff3fa2ee
|
@ -57,6 +57,12 @@ const UploadResourceButton = () => {
|
|||
}
|
||||
|
||||
context.setResourceList([...context.resourceList, ...createdResourceList]);
|
||||
setState((state) => {
|
||||
return {
|
||||
...state,
|
||||
uploadingFlag: false,
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue