diff --git a/gm-dash/ui/src/App.css b/gm-dash/ui/src/Dashboard.css similarity index 100% rename from gm-dash/ui/src/App.css rename to gm-dash/ui/src/Dashboard.css diff --git a/gm-dash/ui/src/App.test.tsx b/gm-dash/ui/src/Dashboard.test.tsx similarity index 78% rename from gm-dash/ui/src/App.test.tsx rename to gm-dash/ui/src/Dashboard.test.tsx index 2a68616..e3373a1 100644 --- a/gm-dash/ui/src/App.test.tsx +++ b/gm-dash/ui/src/Dashboard.test.tsx @@ -1,9 +1,9 @@ import React from 'react'; import { render, screen } from '@testing-library/react'; -import App from './App'; +import Dashboard from './Dashboard'; test('renders learn react link', () => { - render(); + render(); const linkElement = screen.getByText(/learn react/i); expect(linkElement).toBeInTheDocument(); }); diff --git a/gm-dash/ui/src/App.tsx b/gm-dash/ui/src/Dashboard.tsx similarity index 96% rename from gm-dash/ui/src/App.tsx rename to gm-dash/ui/src/Dashboard.tsx index c0e6879..9ef1e8f 100644 --- a/gm-dash/ui/src/App.tsx +++ b/gm-dash/ui/src/Dashboard.tsx @@ -1,4 +1,4 @@ -import './App.css'; +import './Dashboard.css'; import Card from './components/Card/Card'; import Launcher from './components/Launcher/Launcher'; import LauncherGroup from './components/LauncherGroup/LauncherGroup'; @@ -84,7 +84,7 @@ const Palette3 = () =>
-const App = () => { +const Dashboard = () => { return (
@@ -101,4 +101,4 @@ const App = () => { ); } -export default App; +export default Dashboard; diff --git a/gm-dash/ui/src/index.tsx b/gm-dash/ui/src/index.tsx index 032464f..2cf9f1e 100644 --- a/gm-dash/ui/src/index.tsx +++ b/gm-dash/ui/src/index.tsx @@ -1,7 +1,7 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; import './index.css'; -import App from './App'; +import Dashboard from './Dashboard'; import reportWebVitals from './reportWebVitals'; const root = ReactDOM.createRoot( @@ -9,7 +9,7 @@ const root = ReactDOM.createRoot( ); root.render( - + );