Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
siezerp committed Jan 29, 2020
1 parent 0e9dc2f commit 0a784ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export const App = () => (
<div className="row docs-home">
<Nav />
<div className="col-md-10">
<Route exact path={'/'} component={Home} />
<Route exact path="/" component={Home} />
{allComponents.map((c, i) => (
<Route path={c.path} component={c.Component} key={i} />
))}
Expand Down Expand Up @@ -326,7 +326,7 @@ class MultipleXYExample extends React.Component {
yEnd={([i, j]) => j + 0.1}
/* eslint-enable */
colors={['#d0d1e6', '#016450']}
interpolator={'lab'}
interpolator="lab"
/>

<AreaHeatmap
Expand Down
2 changes: 1 addition & 1 deletion src/LineChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default class LineChart extends React.Component {

return (
<g className={`rct-line-chart ${lineClassName}`}>
<path className={`rct-line-path`} d={pathStr} style={lineStyle} />
<path className="rct-line-path" d={pathStr} style={lineStyle} />
</g>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/PieChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class PieChart extends React.Component {

{sum < newTotal ? ( // draw empty slice if the sum of slices is less than expected total
<path
className={`rct-pie-slice rct-pie-slice-empty`}
className="rct-pie-slice rct-pie-slice-empty"
d={pieSlicePath(startPercent, 1, center, radius, holeRadius)}
key="pie-slice-empty"
/>
Expand Down

0 comments on commit 0a784ff

Please sign in to comment.