mirror of
https://github.com/kevinsqi/react-circular-progressbar.git
synced 2026-01-18 15:55:06 +00:00
fix eslint errors
This commit is contained in:
parent
7cc5891bdb
commit
cc63394466
@ -74,8 +74,8 @@ class CircularProgressbar extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const {percentage, classForPercentage, textForPercentage, className, strokeWidth} = this.props;
|
||||
const classForPercentage = classForPercentage ? classForPercentage(percentage) : '';
|
||||
const {percentage, textForPercentage, className, strokeWidth} = this.props;
|
||||
const classForPercentage = this.props.classForPercentage ? this.props.classForPercentage(percentage) : '';
|
||||
const pathDescription = this.getPathDescription();
|
||||
|
||||
const text = textForPercentage ? textForPercentage(percentage) : null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user