Skip to content

Commit

Permalink
format update and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Codehagen committed Jan 25, 2024
1 parent d86198f commit 69ac455
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions apps/www/lib/subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
12 changes: 6 additions & 6 deletions apps/www/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}

0 comments on commit 69ac455

Please sign in to comment.