fix jsx spacing
This commit is contained in:
parent
07a304cbc1
commit
7cd549c46b
4 changed files with 7 additions and 7 deletions
|
@ -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>
|
||||
|
|
|
@ -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`}
|
||||
|
|
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@ import register from './icons.js'
|
|||
register()
|
||||
|
||||
ReactDOM.render(
|
||||
<App />,
|
||||
<App/>,
|
||||
document.getElementById('root'),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue