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
No known key found for this signature in database
GPG Key ID: 1C1E76924FAFDDE4

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;
}