From a50757f6bf8ddb2c6bf0a20f975ac9f3f36fe852 Mon Sep 17 00:00:00 2001 From: Curry Yang <163384738+CurryYangxx@users.noreply.github.com> Date: Fri, 12 Jul 2024 20:00:13 +0800 Subject: [PATCH] fix: migrate loader redirect (#7426) --- packages/insomnia/src/ui/routes/onboarding.migrate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/insomnia/src/ui/routes/onboarding.migrate.tsx b/packages/insomnia/src/ui/routes/onboarding.migrate.tsx index 22c0c1311..1193f1670 100644 --- a/packages/insomnia/src/ui/routes/onboarding.migrate.tsx +++ b/packages/insomnia/src/ui/routes/onboarding.migrate.tsx @@ -9,7 +9,7 @@ import { InsomniaLogo } from '../components/insomnia-icon'; import { TrailLinesContainer } from '../components/trail-lines-container'; export const loader: LoaderFunction = async () => { - if (!shouldMigrateProjectUnderOrganization()) { + if (!await shouldMigrateProjectUnderOrganization()) { return redirect('/organization'); }