prepair redux
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
// Pfad: pages/_app.js
|
||||
import React from "react";
|
||||
import { RecoilRoot } from "recoil";
|
||||
import { Provider } from "react-redux";
|
||||
import store from "../redux/store";
|
||||
import "../styles/global.css";
|
||||
|
||||
function MyApp({ Component, pageProps }) {
|
||||
return (
|
||||
<RecoilRoot>
|
||||
<Component {...pageProps} />
|
||||
</RecoilRoot>
|
||||
<Provider store={store}>
|
||||
<RecoilRoot>
|
||||
<Component {...pageProps} />
|
||||
</RecoilRoot>
|
||||
</Provider>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user