From 656c668037fab3dfdcac023597f999bc526fe587 Mon Sep 17 00:00:00 2001 From: Ole Morud Date: Sun, 21 Aug 2022 21:43:46 +0200 Subject: [PATCH] make index render new components and remove --- src/index.tsx | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 032464f..a0f59c4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,19 +1,20 @@ -import React from 'react'; -import ReactDOM from 'react-dom/client'; -import './index.css'; -import App from './App'; -import reportWebVitals from './reportWebVitals'; +import React from "react" +import ReactDOM from "react-dom/client" +import "./index.css" +import Board from "./Board" +import reportWebVitals from "./reportWebVitals" +import InstructionMenu from "./InstructionMenu" -const root = ReactDOM.createRoot( - document.getElementById('root') as HTMLElement -); +const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement) root.render( - + +
+
-); +) // 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(); +reportWebVitals()