18 lines
387 B
TypeScript
18 lines
387 B
TypeScript
import React, { createContext, useState } from "react"
|
|
import ReactDOM from "react-dom"
|
|
import { BrowserRouter, Route, Routes, useParams } from "react-router-dom"
|
|
import styled from "styled-components"
|
|
|
|
import AppPage from "./AppPage"
|
|
|
|
const main = () => {
|
|
ReactDOM.render(
|
|
<BrowserRouter>
|
|
<AppPage />
|
|
</BrowserRouter>
|
|
, document.getElementById('root')
|
|
)
|
|
}
|
|
|
|
main()
|