e like this: import withRedux from '../utils/withRedux' import RunningLineContainer from '../src/containers/news/RunningLineContainer'  const IndexPage = () => <RunningLineContainer />  IndexPage.getInitialProps = async ({ store }) => {     await store.dispatch(fetchLatestNews()) }  export default withRedux()(IndexPage)  