Created
February 25, 2024 07:22
-
-
Save Sathiyapramod/8fbfe2e996ff066603ee0765252735b8 to your computer and use it in GitHub Desktop.
Provider Component
This file contains 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
//redux/provider.js | |
"use client"; | |
import React from "react"; | |
import { Provider } from "react-redux"; | |
import store from "./index"; | |
export function ReduxProvider({ children }) { | |
return <Provider store={store}>{children}</Provider>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment