import React from 'react';
import { Outlet } from 'react-router-dom';
import CssBaseline from '@mui/material/CssBaseline';
import NavBar from './components/NavBar';
import GlobalSnackbar from './components/GlobalSnackbar';

function App() {
  return (
    <>
      <CssBaseline />
      <NavBar />
      <GlobalSnackbar />
      <Outlet />
    </>
  );
}

export default App;
