diff --git a/src/components/import-project.tsx b/src/components/import-project.tsx index 916693b..8e248e2 100644 --- a/src/components/import-project.tsx +++ b/src/components/import-project.tsx @@ -127,7 +127,7 @@ export default function ImportProject() { const data = await getUserOrgs() return [{ login: profile?.username, avatar_url: profile?.avatarUrl, id: 'current_user' }, ...data] }, - enabled: !!open, + enabled: !!open && !!profile, }) const { data: repos } = useQuery({