mirror of
https://github.com/zoriya/flood.git
synced 2026-05-31 18:25:25 +00:00
Remove unnecessary constructor method
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
import React from 'react';
|
||||
|
||||
export default class ProgressBar extends React.Component {
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
render() {
|
||||
let percent = this.props.percent;
|
||||
let className = 'progress-bar';
|
||||
@@ -16,5 +11,4 @@ export default class ProgressBar extends React.Component {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user