fix: CodeRabbit auto-fixes for PR #140#141
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedThis PR was authored by the user configured for CodeRabbit reviews. CodeRabbit does not review PRs authored by this user. It's recommended to use a dedicated user account to post CodeRabbit review feedback. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
| {#if payment.paidAt !== null} | ||
| <CheckIcon class="text-success-800" size="1em" /> | ||
| {:else if payment.paidAt === null && payment.forMonthD < new Date()} | ||
| {:else if payment.paidAt === null && payment.forMonthD.toDateString() < new Date().toDateString()} |
There was a problem hiding this comment.
why convert this to date strings if the date elements can already do this comparison correctly?
0912161 to
d97bf99
Compare
a941c93 to
db6a7c4
Compare
db6a7c4 to
2deb73f
Compare
2deb73f to
697e362
Compare
Fixed 3 file(s) based on 6 unresolved review comments. Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
697e362 to
febdf48
Compare
This stacked PR contains CodeRabbit auto-fixes for #140.
Files modified:
apps/website/src/lib/remotes/payments.remote.tsapps/website/src/lib/server/db/client.tsapps/website/src/routes/dashboard/payments/+page.svelte