diff --git a/priv/frontend/src/components/App.css b/priv/frontend/src/components/Dashboard.css similarity index 100% rename from priv/frontend/src/components/App.css rename to priv/frontend/src/components/Dashboard.css diff --git a/priv/frontend/src/components/App.js b/priv/frontend/src/components/Dashboard.js similarity index 98% rename from priv/frontend/src/components/App.js rename to priv/frontend/src/components/Dashboard.js index f4b163f..8e5aad1 100644 --- a/priv/frontend/src/components/App.js +++ b/priv/frontend/src/components/Dashboard.js @@ -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 = { diff --git a/priv/frontend/src/index.js b/priv/frontend/src/index.js index d1a01c6..66d0c9b 100644 --- a/priv/frontend/src/index.js +++ b/priv/frontend/src/index.js @@ -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( - , - document.getElementById('root'), + , + document.getElementById('root') )