import { Route, Routes } from 'react-router-dom';
import UserRoutes from './UserRoutes';
import PublicRoutes from './PublicRoutes';


const AppRoutes = () => {
    return (
      <>
        {/* Wrap UserRoutes inside AuthProvider separately */}
        <Routes>
          {UserRoutes()}
          {PublicRoutes()}
         
        </Routes>
      </>
    );
};

export default AppRoutes;
