From 69ac455bcd257032e3dd4fe614d20ff0050a341f Mon Sep 17 00:00:00 2001 From: meglerhagen Date: Thu, 25 Jan 2024 11:17:15 +0100 Subject: [PATCH] format update and test --- apps/www/lib/subscription.ts | 4 ++-- apps/www/tsconfig.json | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/www/lib/subscription.ts b/apps/www/lib/subscription.ts index f9e71c4b..c1efc9fc 100644 --- a/apps/www/lib/subscription.ts +++ b/apps/www/lib/subscription.ts @@ -43,8 +43,8 @@ export async function getUserSubscriptionPlan( ? userPlan?.stripeIds.monthly === user.stripePriceId ? "month" : userPlan?.stripeIds.yearly === user.stripePriceId - ? "year" - : null + ? "year" + : null : null; let isCanceled = false; diff --git a/apps/www/tsconfig.json b/apps/www/tsconfig.json index 5dcf753b..e9ae1588 100644 --- a/apps/www/tsconfig.json +++ b/apps/www/tsconfig.json @@ -17,21 +17,21 @@ "baseUrl": ".", "paths": { "@/*": ["./*"], - "contentlayer/generated": ["./.contentlayer/generated"], + "contentlayer/generated": ["./.contentlayer/generated"] }, "plugins": [ { - "name": "next", - }, + "name": "next" + } ], - "strictNullChecks": true, + "strictNullChecks": true }, "include": [ "next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", - ".contentlayer/generated", + ".contentlayer/generated" ], - "exclude": ["node_modules"], + "exclude": ["node_modules"] }