bug fixed

This commit is contained in:
daniel31x13
2024-10-26 10:58:27 -04:00
parent d3d2d5069e
commit cfd33e9bd1
16 changed files with 20 additions and 31 deletions
@@ -43,6 +43,7 @@ export default function NewCollectionModal({ onClose, parent }: Props) {
await createCollection.mutateAsync(collection, {
onSettled: (data, error) => {
setSubmitLoader(false);
toast.dismiss(load);
if (error) {
@@ -53,8 +54,6 @@ export default function NewCollectionModal({ onClose, parent }: Props) {
}
},
});
setSubmitLoader(false);
};
return (