diff --git a/app/routes/short-links.tsx b/app/routes/short-links.tsx index 05964ba..a245dc8 100644 --- a/app/routes/short-links.tsx +++ b/app/routes/short-links.tsx @@ -76,7 +76,7 @@ export default function () { toast({ description: `Link ${path} was successfully deleted.`, - onCloseComplete: location.reload, + onCloseComplete: () => location.reload(), status: "success", title: "Deleted", });