import { html, render } from "/js/lib/lit-html.js"; import { headerTemplate } from "/js/templates/header.template.js"; import { pageEffect, bindPageTitle } from "/js/router.js"; export default async function accountNotFoundView({ root, params, router }) { bindPageTitle(root, () => "Not Found"); pageEffect(root, () => { const canGoBack = router.previousRoute !== null; render( html`
${headerTemplate({ title: "Not found", })}

Account not found

@${params.handleOrDid} couldn't be found
${canGoBack ? html`` : html`Go home`}
`, root, ); }); }