feat: Recoil vollständig entfernt, Projekt nutzt nur noch Redux
- RecoilRoot aus _app.js entfernt - recoil aus package.json & package-lock.json gelöscht - README.md aktualisiert: Redux statt Recoil - DataSheet.md & Wiki.md angepasst - Projekt ist jetzt vollständig Recoil-frei
This commit is contained in:
@@ -1,21 +1,13 @@
|
||||
// /pages/_app.js
|
||||
import React from "react";
|
||||
import { RecoilRoot } from "recoil";
|
||||
import { Provider } from "react-redux";
|
||||
import { store } from "../redux/store"; // ← Stelle sicher, dass der Import korrekt ist!
|
||||
import { store } from "../redux/store";
|
||||
import "../styles/global.css";
|
||||
//import "../public/css/geocoder.css";
|
||||
|
||||
function MyApp({ Component, pageProps }) {
|
||||
return (
|
||||
<Provider store={store}>
|
||||
{" "}
|
||||
{/* Redux Provider */}
|
||||
<RecoilRoot>
|
||||
{" "}
|
||||
{/* Recoil Provider */}
|
||||
<Component {...pageProps} />
|
||||
</RecoilRoot>
|
||||
<Component {...pageProps} />
|
||||
</Provider>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user