rename <App/> -> <Dashboard/>
This commit is contained in:
parent
5f97f73631
commit
aa0a200a59
3 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
import React, { Component } from 'react'
|
||||
|
||||
import './App.css'
|
||||
import './Dashboard.css'
|
||||
import Service from './Service.js'
|
||||
import ServicePlaceholder from './ServicePlaceholder.js'
|
||||
import DegradedNotice from './DegradedNotice.js'
|
||||
|
@ -9,7 +9,7 @@ import Status from './Status'
|
|||
import { log, objectFromEntries, strictFetch } from '../util.js'
|
||||
import { domain as DOMAIN } from '../config.json'
|
||||
|
||||
export default class App extends Component {
|
||||
export default class Dashboard extends Component {
|
||||
client = null
|
||||
|
||||
state = {
|
|
@ -2,12 +2,12 @@ import React from 'react'
|
|||
import ReactDOM from 'react-dom'
|
||||
|
||||
import './index.css'
|
||||
import App from './components/App'
|
||||
import Dashboard from './components/Dashboard'
|
||||
import register from './icons.js'
|
||||
|
||||
register()
|
||||
|
||||
ReactDOM.render(
|
||||
<App/>,
|
||||
document.getElementById('root'),
|
||||
<Dashboard/>,
|
||||
document.getElementById('root')
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue