forked from M3-Academy/desafio-react-e-typescript
16 lines
388 B
TypeScript
16 lines
388 B
TypeScript
|
import React from "react";
|
||
|
import ReactDOM from "react-dom/client";
|
||
|
import "./styles/reset.css";
|
||
|
import { Home } from "./pages/Home";
|
||
|
import { PageProvider } from "./contexts/PageContext";
|
||
|
|
||
|
const root = ReactDOM.createRoot(
|
||
|
document.getElementById("root") as HTMLElement
|
||
|
);
|
||
|
root.render(
|
||
|
<PageProvider>
|
||
|
<React.StrictMode>
|
||
|
<Home />
|
||
|
</React.StrictMode>
|
||
|
</PageProvider>
|
||
|
);
|