fixed progress bar component rendering bug
This commit is contained in:
parent
8228e5bd12
commit
d0c6f75bff
3 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
|
||||
function ActiveStatusBar () {
|
||||
const ActiveStatusBar = () => {
|
||||
return <span className="progress-bar progress-bar--active">| </span>;
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
|
||||
function InactiveStatusBar () {
|
||||
const InactiveStatusBar = () => {
|
||||
return <span className="progress-bar progress-bar--inactive">| </span>;
|
||||
}
|
||||
|
||||
export default InactiveStatusBar();
|
||||
export default InactiveStatusBar;
|
|
@ -7,7 +7,6 @@ class ProgressBar extends React.Component {
|
|||
constructor (props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
size : 12,
|
||||
bars : [],
|
||||
index : 0,
|
||||
incrementer: 1,
|
||||
|
|
Loading…
Reference in a new issue