chore: add stale time for billing check (#23907)
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
1 parent
eaf695824b
commit
616e4c4908
1 file changed
+1
@@ -14,6 +14,7 @@ export const useCheckTeamBilling = (teamId?: number | null, isPlatformTeam?: boo
|
||||
return data.data;
|
||||
},
|
||||
enabled: !!teamId && !!isPlatformTeam,
|
||||
staleTime: 5000,
|
||||
});
|
||||
|
||||
return isTeamBilledAlready;
|
||||
|
||||
Reference in new issue
Block a user