Skip to content

Commit

Permalink
fix(pie): fix types related to d3-shape
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze authored and plouc committed Dec 2, 2020
1 parent 0542c6c commit 624d585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pie/src/PieSlice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const PieSlice = <RawDatum,>({

return (
<path
d={path}
d={path ?? undefined}
fill={datum.fill || datum.color}
strokeWidth={borderWidth}
stroke={borderColor}
Expand Down

0 comments on commit 624d585

Please sign in to comment.