We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54aece2 commit ca505ebCopy full SHA for ca505eb
src/app/(proper_react)/(redesign)/(public)/page.tsx
@@ -70,8 +70,8 @@ export default async function Page() {
70
);
71
const oneRepActivations = profileStats?.total_active;
72
const scanLimitReached =
73
- typeof oneRepActivations === "undefined" ||
74
- oneRepActivations > monthlySubscribersQuota ||
+ (typeof oneRepActivations !== "undefined" &&
+ oneRepActivations > monthlySubscribersQuota) ||
75
(enabledFeatureFlags.includes("DisableOneRepScans") && eligibleForPremium);
76
77
return (
0 commit comments