From e55259357f20160eb0bc03a45c4e0a39da90b06a Mon Sep 17 00:00:00 2001 From: Regalijan Date: Fri, 1 Nov 2024 23:09:39 -0400 Subject: [PATCH] Fix funny error --- app/routes/short-links.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", });