New Settings UI: Conditionally show subscriptions product option

This commit is contained in:
Himad M 2024-12-05 10:33:34 -04:00
parent ebc53b7bfa
commit 137d40489c
No known key found for this signature in database
GPG key ID: 5FC769E9888A7B98
6 changed files with 41 additions and 25 deletions

View file

@ -123,3 +123,8 @@ export const useNavigationState = () => {
business,
};
};
export const useFlags = () => {
const { flags } = useHooks();
return flags;
};

View file

@ -20,6 +20,7 @@ const defaultTransient = {
canUseCasualSelling: false,
canUseVaulting: false,
canUseCardPayments: false,
canUseSubscriptions: false,
},
};