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
@@ -44,6 +44,7 @@ export default function DeleteCollectionModal({
deleteCollection.mutateAsync(collection.id as number, {
onSettled: (data, error) => {
setSubmitLoader(false);
toast.dismiss(load);
if (error) {
@@ -55,8 +56,6 @@ export default function DeleteCollectionModal({
}
},
});
setSubmitLoader(false);
}
};