mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02: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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user