App.tsx 344 Bytes
Newer Older
Yoon, Daeki's avatar
Yoon, Daeki committed
1
import React from "react";
2
import { Outlet } from "react-router-dom";
Yoon, Daeki's avatar
Yoon, Daeki committed
3
import { AuthProvider } from "./auth/auth.context";
Jiwon Yoon's avatar
Jiwon Yoon committed
4
import { Footer, Header } from "./commons";
Yoon, Daeki's avatar
Yoon, Daeki committed
5

6
const App = () => (
Yoon, Daeki's avatar
Yoon, Daeki committed
7
  <AuthProvider>
8
    <Header />
Jiwon Yoon's avatar
Jiwon Yoon committed
9
10
11
12
    <div style={{ minHeight: "80vh" }}>
      <Outlet />
    </div>
    <Footer />
Yoon, Daeki's avatar
Yoon, Daeki committed
13
  </AuthProvider>
14
15
16
);

export default App;