import React from "react";
import RoutesComponent from "./AppRouter.jsx";
import { AuthProvider } from "./AuthContext.jsx";
import { BrowserRouter as Router } from "react-router-dom";
import Header from "./components/Header.jsx";

const App = () => {
  return (
    <Router>
      <AuthProvider>
        <div>
          <Header />
          <RoutesComponent />
        </div>
      </AuthProvider>
    </Router>
  );
};

export default App;
