mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
fix: migrate loader redirect (#7426)
This commit is contained in:
parent
c9ba5ec237
commit
a50757f6bf
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user