Propagate unlimited website entitlement through subscription checks
This commit is contained in:
1 parent
d2eafd68f7
commit
0c0a3aee65
4 files changed
+19
No files matched your search
@@ -6,6 +6,7 @@ export interface Subscription {
|
||||
isBusiness: boolean;
|
||||
isNoBilling: boolean;
|
||||
hasSubscription: boolean;
|
||||
unlimitedWebsites: boolean;
|
||||
}
|
||||
|
||||
const FEATURES = {
|
||||
@@ -19,6 +20,7 @@ const defaultSubscription: Subscription = {
|
||||
isBusiness: false,
|
||||
isNoBilling: false,
|
||||
hasSubscription: false,
|
||||
unlimitedWebsites: false,
|
||||
};
|
||||
|
||||
export function useSubscription(teamId?: string | null) {
|
||||
|
||||
Reference in new issue
Block a user