Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import withRedux from 'next-redux-wrapper';
- import Link from 'next/link'
- import initStore from '../utils/store';
- import '../utils/offline-install'; // Get our service worker on the page
- class Index extends React.Component {
- render() {
- return (
- <div>Click
- <Link href="/page/0">
- <a>here</a>
- </Link>
- to read more</div>
- );
- }
- }
- export default withRedux(initStore)(Index);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement