Commit c8ff3fa2 authored by Steven's avatar Steven

chore: fix uploading flag

parent f67676ac
...@@ -57,6 +57,12 @@ const UploadResourceButton = () => { ...@@ -57,6 +57,12 @@ const UploadResourceButton = () => {
} }
context.setResourceList([...context.resourceList, ...createdResourceList]); context.setResourceList([...context.resourceList, ...createdResourceList]);
setState((state) => {
return {
...state,
uploadingFlag: false,
};
});
}; };
return ( return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment