fix: Handle potential null values for mileage and totalAmount in vehi…#24
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. WalkthroughThree files receive null-safety improvements applying the nullish coalescing operator to properties accessed during formatting. Mileage fields in vehicle-related components and the total amount in the customer dashboard now default to zero when undefined, preventing potential runtime errors. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…cle components
Summary by CodeRabbit