Skip to content

Commit

Permalink
fix: rename variable to fix code review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed Nov 23, 2022
1 parent 2bfc417 commit 285788b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shape/interval/color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ export const Color: SC<ColorOptions> = (options) => {
const { mark, shape, defaultShape } = value;
const {
[colorAttribute]: defaultColor,
radius: dftR = 0,
radius: defaultRadius = 0,
...defaults
} = getShapeTheme(theme, mark, shape, defaultShape);

const defaultLineWidth = defaults.lineWidth || 1;
const {
stroke,
radius = dftR,
radius = defaultRadius,
radiusTopLeft = radius,
radiusTopRight = radius,
radiusBottomRight = radius,
Expand Down

0 comments on commit 285788b

Please sign in to comment.