moved ConfigProvider up in the hierarchy (to main.jsx) to wrap the whole App
This commit is contained in:
@@ -3,16 +3,13 @@ import 'leaflet/dist/leaflet.css'
|
||||
import 'bootstrap/dist/css/bootstrap.min.css'
|
||||
import 'bootstrap/dist/js/bootstrap.bundle.min.js'
|
||||
|
||||
import { ThemeProvider } from '../contexts/ThemeContext.jsx'
|
||||
|
||||
import Home from '../pages/Home.jsx'
|
||||
|
||||
const App = () => {
|
||||
return (
|
||||
<>
|
||||
<ThemeProvider>
|
||||
<Home />
|
||||
</ThemeProvider>
|
||||
{/* Planeo añadir un React Router */}
|
||||
<Home />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user