BaseLayout.tsx 274 Bytes
Newer Older
Yoon, Daeki's avatar
Yoon, Daeki committed
1
2
3
4
5
6
7
8
9
10
11
12
13
import React from "react";
import { Outlet } from "react-router-dom";
import { AuthProvider } from "../auth";
import { Header } from "../commons";

export const BaseLayout = () => {
  return (
    <AuthProvider>
      <Header />
      <Outlet />
    </AuthProvider>
  );
};