Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react';
  2. import withRedux from 'next-redux-wrapper';
  3. import Link from 'next/link'
  4.  
  5. import initStore from '../utils/store';
  6. import '../utils/offline-install'; // Get our service worker on the page
  7.  
  8. class Index extends React.Component {
  9.     render() {
  10.         return (
  11.             <div>Click
  12.                 <Link href="/page/0">
  13.                     <a>here</a>
  14.                 </Link>
  15.                 to read more</div>
  16.         );
  17.     }
  18. }
  19.  
  20. export default withRedux(initStore)(Index);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement