import React from "react";
import { BrowserRouter as Router } from "react-router-dom";
import { ThemeProvider } from "./contexts/ThemeContext";
import AppRoutes from "./routes/AppRoutes";

function App() {
  return (
    <ThemeProvider>
      <Router future={{ v7_relativeSplatPath: true }}>
        <AppRoutes />
      </Router>
    </ThemeProvider>
  );
}

export default App;
