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';
import CalendarDialog from './components/CalendarDialog';

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

export default App;
