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'); }