mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-31 18:54:15 +00:00
Merge pull request #11705 from overleaf/jel-free-plan-dash
[web] Fix displaying free plan React dash GitOrigin-RevId: 5759ad3489bf43d2a7db57b050fd5cb4aa360140
This commit is contained in:
parent
f3d055af86
commit
ccbc0adc06
1 changed files with 2 additions and 2 deletions
|
@ -56,12 +56,12 @@ export function SubscriptionDashboardProvider({
|
|||
const hasDisplayedSubscription =
|
||||
institutionMemberships?.length > 0 ||
|
||||
personalSubscription ||
|
||||
managedGroupSubscriptions
|
||||
managedGroupSubscriptions?.length > 0
|
||||
|
||||
useEffect(() => {
|
||||
if (!isRecurlyLoaded()) {
|
||||
setRecurlyLoadError(true)
|
||||
} else {
|
||||
} else if (recurlyApiKey) {
|
||||
recurly.configure(recurlyApiKey)
|
||||
}
|
||||
}, [recurlyApiKey, setRecurlyLoadError])
|
||||
|
|
Loading…
Reference in a new issue