rename hasActiveSubscription
from useCurrentUser()
to hasOngoingSubscription
This commit is contained in:
@ -15,7 +15,7 @@ export default function useCurrentUser() {
|
||||
organization,
|
||||
hasFilledTwilioCredentials,
|
||||
hasPhoneNumber: Boolean(phoneNumber),
|
||||
hasActiveSubscription: organization && organization.subscriptions.length > 0,
|
||||
hasOngoingSubscription: organization && organization.subscriptions.length > 0,
|
||||
refetch: userQuery.refetch,
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user