Skip to content

Commit b8e2281

Browse files
committed
undo wrong commit
1 parent 81b4a9d commit b8e2281

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/stores/billing.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -534,9 +534,9 @@ export async function checkForNewDevUpgradePro(org: Organization) {
534534
const now = new Date().getTime();
535535
const account = get(user);
536536
const accountCreated = new Date(account.$createdAt).getTime();
537-
// if (now - accountCreated < 1000 * 60 * 60 * 24 * 7) return;
538-
// const isDismissed = !!localStorage.getItem('newDevUpgradePro');
539-
// if (isDismissed) return;
537+
if (now - accountCreated < 1000 * 60 * 60 * 24 * 7) return;
538+
const isDismissed = !!localStorage.getItem('newDevUpgradePro');
539+
if (isDismissed) return;
540540
// check if coupon already applied
541541
try {
542542
await sdk.forConsole.billing.getCouponAccount(NEW_DEV_PRO_UPGRADE_COUPON);

0 commit comments

Comments
 (0)