Remove invalid size prop from RechartsPortfolioPieChart component
All checks were successful
Build and Push Docker Images / docker (push) Successful in 2m27s
All checks were successful
Build and Push Docker Images / docker (push) Successful in 2m27s
Fixed TypeScript error where size prop was being passed to RechartsPortfolioPieChart but the component only accepts projects and totalTons props. The component is responsive by default and doesn't need a size parameter. This resolves the Docker build error: Property 'size' does not exist on type 'IntrinsicAttributes & RechartsPortfolioPieChartProps' Verified with tsc --noEmit that no other TypeScript errors exist. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
7faeb9b3f0
commit
94f422e540
@ -451,7 +451,6 @@ export default function CheckoutSuccessPage() {
|
||||
<RechartsPortfolioPieChart
|
||||
projects={orderDetails.order.portfolio.projects}
|
||||
totalTons={order.tons}
|
||||
size={280}
|
||||
/>
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user