index.tsx 357 Bytes
Newer Older
Yoon, Daeki's avatar
Yoon, Daeki committed
1
2
3
import React from "react";
import { createRoot } from "react-dom/client";
import { App } from "./App";
Kim, MinGyu's avatar
Kim, MinGyu committed
4
import { AuthProvider } from "./auth/auth.context";
Yoon, Daeki's avatar
Yoon, Daeki committed
5
6
7
8
9
10

const container = document.getElementById("root");
const root = createRoot(container!);

root.render(
  <React.StrictMode>
Kim, MinGyu's avatar
Kim, MinGyu committed
11
12
13
    <AuthProvider>
      <App />
    </AuthProvider>
Yoon, Daeki's avatar
Yoon, Daeki committed
14
15
  </React.StrictMode>
);