// Scoped 404 for the editor subtree. Fires when a URL under the group matches no
// page, and when a loader throws NotFoundError.
import type { ReactNode } from 'react'
import { T } from '@voltro/i18n'

export default function EditorNotFound(): ReactNode {
  return (
    <main style={{ padding: '2rem' }}>
      <h1><T id="notFound.heading" /></h1>
      <p className="muted"><T id="notFound.body" /></p>
      <p style={{ marginTop: '1rem' }}><a href="/"><T id="notFound.back" /></a></p>
    </main>
  )
}
