Skip to content

Commit 0901252

Browse files
restore redux
Signed-off-by: saurabhraghuvanshii <saurabhsraghuvanshi@gmail.com>
1 parent e491022 commit 0901252

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

examples/next-12/pages/_app.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import { AppThemeContext } from './../lib/context/AppThemeContext';
2+
import { Provider } from 'react-redux';
3+
import store from './../lib/redux/store';
24

35
export default function App({ Component, pageProps }) {
46
return (
5-
7+
<Provider store={store}>
68
<AppThemeContext>
79
<Component {...pageProps} />
810
</AppThemeContext>
9-
11+
</Provider>
1012
);
1113
}

0 commit comments

Comments
 (0)