Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wess committed Jan 12, 2024
1 parent 41d5393 commit 82f27c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/stores/billing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export function calculateTrialDay(org: Organization) {
let diffTime = endDate.getTime() - today.getTime();
diffTime = Math.ceil(diffTime / (1000 * 60 * 60 * 24)) + 1;

let days = diffTime < 1 ? 0 : diffTime;
const days = diffTime < 1 ? 0 : diffTime;

daysLeftInTrial.set(days);
return days;
Expand Down

0 comments on commit 82f27c7

Please sign in to comment.