import Link from 'next/link' import {connect} from 'react-redux' import AddCount from './add-count' import Clock from './clock' function Page ({error, lastUpdate, light, linkTo, placeholderData, title}) { return (

{title}

{placeholderData &&
          
            {JSON.stringify(placeholderData, null, 2)}
          
        
} {error &&

Error: {error.message}

}
) } export default connect(state => state)(Page)