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

{title}

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

Error: {error.message}

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