A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: premium_canceled is also premium
thecodrr0b22aa07e01b
diff --git a/apps/web/src/hooks/use-is-user-premium.js b/apps/web/src/hooks/use-is-user-premium.jsindex 4723dc6ee..332b7067b 100644--- a/apps/web/src/hooks/use-is-user-premium.js+++ b/apps/web/src/hooks/use-is-user-premium.js@@ -17,6 +17,7 @@ export function isUserPremium(user) {return (subStatus === SUBSCRIPTION_STATUS.BETA ||subStatus === SUBSCRIPTION_STATUS.PREMIUM ||+ subStatus === SUBSCRIPTION_STATUS.PREMIUM_CANCELED ||subStatus === SUBSCRIPTION_STATUS.TRIAL);}