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 ? (
|
{this.state.loading && !this.state.error ? (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<ServicePlaceholder />
|
<ServicePlaceholder/>
|
||||||
<ServicePlaceholder />
|
<ServicePlaceholder/>
|
||||||
<ServicePlaceholder />
|
<ServicePlaceholder/>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
) : metrics}
|
) : metrics}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -78,7 +78,7 @@ export default class Graph extends Component {
|
||||||
/>
|
/>
|
||||||
{yAxis}
|
{yAxis}
|
||||||
|
|
||||||
<CartesianGrid strokeDasharray="1 1" />
|
<CartesianGrid strokeDasharray="1 1"/>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
isAnimationActive={false}
|
isAnimationActive={false}
|
||||||
formatter={(value) => `${value}ms`}
|
formatter={(value) => `${value}ms`}
|
||||||
|
|
|
@ -49,7 +49,7 @@ const Service = ({ graph, name, status, latency, description }) => {
|
||||||
<div className="service">
|
<div className="service">
|
||||||
<header>
|
<header>
|
||||||
<div className="emoji" title={title}>
|
<div className="emoji" title={title}>
|
||||||
<FontAwesomeIcon title={title} icon={icon} style={{ color }} />
|
<FontAwesomeIcon title={title} icon={icon} style={{ color }}/>
|
||||||
</div>
|
</div>
|
||||||
<h2 className="title">
|
<h2 className="title">
|
||||||
{name} {latency ? (
|
{name} {latency ? (
|
||||||
|
@ -62,7 +62,7 @@ const Service = ({ graph, name, status, latency, description }) => {
|
||||||
<p className="description">
|
<p className="description">
|
||||||
{description}
|
{description}
|
||||||
</p>
|
</p>
|
||||||
{graph ? <Graph data={graph} /> : null}
|
{graph ? <Graph data={graph}/> : null}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,6 @@ import register from './icons.js'
|
||||||
register()
|
register()
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<App />,
|
<App/>,
|
||||||
document.getElementById('root'),
|
document.getElementById('root'),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue