mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-29 17:07:57 +03:00
fix(core): ai plan should show even user not signed in (#6845)
This commit is contained in:
parent
960b906935
commit
9f432a04d4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user