From 8145e9b2fb8ba8ff48e01cc63f9cbf419ae39af0 Mon Sep 17 00:00:00 2001 From: ah7255703 Date: Tue, 28 Nov 2023 10:44:08 +0200 Subject: [PATCH] Fix copilot delete redirect issue --- dashboard/app/(copilot)/copilot/[copilot_id]/settings/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/app/(copilot)/copilot/[copilot_id]/settings/page.tsx b/dashboard/app/(copilot)/copilot/[copilot_id]/settings/page.tsx index fd1a2e32d..e12de26cc 100644 --- a/dashboard/app/(copilot)/copilot/[copilot_id]/settings/page.tsx +++ b/dashboard/app/(copilot)/copilot/[copilot_id]/settings/page.tsx @@ -32,7 +32,7 @@ export default function GeneralSettingsPage() { title: "Copilot deleted", description: "Your copilot has been deleted successfully.", }); - _.delay(() => replace("/"), 1000); + replace("/") } } const [Name, setName] = React.useState(copilotName);