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
+1 -2
View File
@@ -80,6 +80,7 @@ export default function NewLinkModal({ onClose }: Props) {
await addLink.mutateAsync(link, {
onSettled: (data, error) => {
setSubmitLoader(false);
toast.dismiss(load);
if (error) {
@@ -90,8 +91,6 @@ export default function NewLinkModal({ onClose }: Props) {
}
},
});
setSubmitLoader(false);
}
};