fix jsx spacing

This commit is contained in:
slice 2018-07-16 18:06:15 -07:00
parent 07a304cbc1
commit 7cd549c46b
No known key found for this signature in database
GPG Key ID: 1508C19D7436A26D
4 changed files with 7 additions and 7 deletions

View File

@ -209,9 +209,9 @@ export default class App extends Component {
{this.state.loading && !this.state.error ? (
<React.Fragment>
<ServicePlaceholder />
<ServicePlaceholder />
<ServicePlaceholder />
<ServicePlaceholder/>
<ServicePlaceholder/>
<ServicePlaceholder/>
</React.Fragment>
) : metrics}
</div>

View File

@ -78,7 +78,7 @@ export default class Graph extends Component {
/>
{yAxis}
<CartesianGrid strokeDasharray="1 1" />
<CartesianGrid strokeDasharray="1 1"/>
<Tooltip
isAnimationActive={false}
formatter={(value) => `${value}ms`}

View File

@ -49,7 +49,7 @@ const Service = ({ graph, name, status, latency, description }) => {
<div className="service">
<header>
<div className="emoji" title={title}>
<FontAwesomeIcon title={title} icon={icon} style={{ color }} />
<FontAwesomeIcon title={title} icon={icon} style={{ color }}/>
</div>
<h2 className="title">
{name} {latency ? (
@ -62,7 +62,7 @@ const Service = ({ graph, name, status, latency, description }) => {
<p className="description">
{description}
</p>
{graph ? <Graph data={graph} /> : null}
{graph ? <Graph data={graph}/> : null}
</div>
)
}

View File

@ -8,6 +8,6 @@ import register from './icons.js'
register()
ReactDOM.render(
<App />,
<App/>,
document.getElementById('root'),
)