desafio-react-e-typescript-.../index.tsx

16 lines
388 B
TypeScript
Raw Normal View History

2023-01-19 18:44:33 +00:00
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>
);