fix: pass current user id to usePlanAndUsage hook
This commit is contained in:
@@ -12,6 +12,7 @@ export default function usePlanAndUsage(userId) {
|
||||
|
||||
return data;
|
||||
},
|
||||
enabled: !!userId,
|
||||
});
|
||||
|
||||
return query;
|
||||
|
Reference in New Issue
Block a user