Skip to content

Commit

Permalink
fix: not trigger my-info api until user try to import project
Browse files Browse the repository at this point in the history
  • Loading branch information
wfnuser committed Nov 10, 2024
1 parent f24a384 commit 204cbc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/import-project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export default function ImportProject() {
const { data: profile } = useQuery({
queryKey: ['profile'],
queryFn: getMyInfo,
enabled: !!open,
})
const { data: userOrOrgOptions, isLoading: isUserOrOrgOptionsLoading } = useQuery({
queryKey: ['userOrOrgOptions'],
Expand Down

0 comments on commit 204cbc3

Please sign in to comment.