fix(core): ai plan should show even user not signed in (#6845)

This commit is contained in:
CatsJuice
2024-05-09 07:26:27 +00:00
parent 960b906935
commit 9f432a04d4

View File

@@ -26,8 +26,7 @@ export const AIPlan = () => {
}, [subscriptionService]);
// yearly subscription should always be available
if (!price?.yearlyAmount || subscription === null) {
// TODO: loading UI
if (!price?.yearlyAmount) {
return null;
}