Created
September 5, 2023 12:59
-
-
Save rahulmore01/b1f9cc84643d4c121ed1abca7aa6110d to your computer and use it in GitHub Desktop.
blog-redux file provider.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import React from "react"; | |
| import { Provider } from "react-redux"; | |
| import store from "./Store"; | |
| const CustomProvider = ({ children }) => { | |
| return <Provider store={store}>{children}</Provider>; | |
| }; | |
| export default CustomProvider; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment