import { h } from 'jsx-node'

export default ({ error = {}, regions = {} }) => (
  <section className='error page'>
    <h1>Oops!</h1>
    <p>Ett problem har tyvärr uppstått.</p>
    <h2>
      {error.status} {error.statusText}
    </h2>
    <p>{error.message}</p>
  </section>
)
