frontend/pages/_app.tsx

13 lines
299 B
TypeScript
Raw Normal View History

2022-10-21 17:44:22 +03:00
import '../styles/globals.css'
import type { AppProps } from 'next/app'
2022-10-22 10:37:05 +03:00
import {Provider} from 'react-redux';
import store from '../store'
2022-10-21 17:44:22 +03:00
function MyApp({ Component, pageProps }: AppProps) {
2022-10-22 10:37:05 +03:00
return <Provider store={store}>
<Component {...pageProps} />
</Provider>
2022-10-21 17:44:22 +03:00
}
export default MyApp