ISSUE-001 - Playing around quite a bit. Not sure I've figured out a method of constructing the tool page I'm happy with here. Want to take a different path and see what I can do.
This commit is contained in:
1 parent
c6f5899510
commit
c3b268da61
22 files changed
+412
-33
No files matched your search
+17
-8
@@ -1,17 +1,26 @@
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
import "./index.css";
|
||||
import { BrowserRouter, Route, Routes } from "react-router-dom";
|
||||
import { ThemeProvider } from "styled-components";
|
||||
|
||||
// import "./index.css";
|
||||
// import "./clear.css";
|
||||
|
||||
import App from "./App";
|
||||
import reportWebVitals from "./reportWebVitals";
|
||||
import Broadcast from "./routes/BroadcastRoute";
|
||||
import { GlobalStyle, theme } from "./shared/theme";
|
||||
|
||||
ReactDOM.render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
<ThemeProvider theme={theme}>
|
||||
<GlobalStyle theme={theme} />
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path="/" element={<App />} />
|
||||
<Route path="/broadcast" element={<Broadcast />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
</ThemeProvider>
|
||||
</React.StrictMode>,
|
||||
document.getElementById("root"),
|
||||
);
|
||||
|
||||
// If you want to start measuring performance in your app, pass a function
|
||||
// to log results (for example: reportWebVitals(console.log))
|
||||
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
||||
reportWebVitals();
|
||||
Reference in new issue
Block a user