Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
javidhsueh committed Apr 13, 2017
1 parent 12e2030 commit e24a2b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sunburst/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function getMargin(width, height, radius) {
bottom: marginY,
left: marginX,
right: marginX,
top: marginY
top: marginY
};
}

Expand All @@ -101,7 +101,7 @@ class Sunburst extends React.Component {
} = this.props;
const mappedData = getNodesToRender({data, height, hideRootNode, width});
const radialDomain = getRadialDomain(mappedData);
const margin = getMargin(widht, height, radialDomain);
const margin = getMargin(width, height, radialDomain);
return (
<XYPlot
height={height}
Expand Down

0 comments on commit e24a2b2

Please sign in to comment.