fix: pass current user id to usePlanAndUsage hook

This commit is contained in:
kasia.oczkowska
2024-04-12 10:43:40 +01:00
parent 897c96361f
commit 009754c18b
2 changed files with 3 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ export default function usePlanAndUsage(userId) {
return data;
},
enabled: !!userId,
});
return query;