diff --git a/react/components/ActiveStatusBar.jsx b/react/components/ActiveStatusBar/index.jsx similarity index 80% rename from react/components/ActiveStatusBar.jsx rename to react/components/ActiveStatusBar/index.jsx index a5cb7aed..4f3737f5 100644 --- a/react/components/ActiveStatusBar.jsx +++ b/react/components/ActiveStatusBar/index.jsx @@ -1,6 +1,6 @@ import React from 'react'; -function ActiveStatusBar () { +const ActiveStatusBar = () => { return | ; } diff --git a/react/components/InactiveStatusBar.jsx b/react/components/InactiveStatusBar/index.jsx similarity index 60% rename from react/components/InactiveStatusBar.jsx rename to react/components/InactiveStatusBar/index.jsx index f4422d9a..f9a2914e 100644 --- a/react/components/InactiveStatusBar.jsx +++ b/react/components/InactiveStatusBar/index.jsx @@ -1,7 +1,7 @@ import React from 'react'; -function InactiveStatusBar () { +const InactiveStatusBar = () => { return | ; } -export default InactiveStatusBar(); +export default InactiveStatusBar; diff --git a/react/components/ProgressBar.jsx b/react/components/ProgressBar.jsx index be3d810b..46ccd0e2 100644 --- a/react/components/ProgressBar.jsx +++ b/react/components/ProgressBar.jsx @@ -7,7 +7,6 @@ class ProgressBar extends React.Component { constructor (props) { super(props); this.state = { - size : 12, bars : [], index : 0, incrementer: 1,