3adae06d9c
followup to https://github.com/tldraw/tldraw/pull/3881 to enforce this in the codebase Describe what your pull request does. If appropriate, add GIFs or images showing the before and after. ### Change Type <!-- ❗ Please select a 'Scope' label ❗️ --> - [x] `sdk` — Changes the tldraw SDK - [x] `dotcom` — Changes the tldraw.com web app - [ ] `docs` — Changes to the documentation, examples, or templates. - [ ] `vs code` — Changes to the vscode plugin - [ ] `internal` — Does not affect user-facing stuff <!-- ❗ Please select a 'Type' label ❗️ --> - [ ] `bugfix` — Bug fix - [ ] `feature` — New feature - [x] `improvement` — Improving existing features - [ ] `chore` — Updating dependencies, other boring stuff - [ ] `galaxy brain` — Architectural changes - [ ] `tests` — Changes to any test code - [ ] `tools` — Changes to infrastructure, CI, internal scripts, debugging tools, etc. - [ ] `dunno` — I don't know
23 lines
565 B
TypeScript
23 lines
565 B
TypeScript
import { Header } from '@/components/Header'
|
||
import { Sidebar } from '@/components/Sidebar'
|
||
import { getDb } from '@/utils/ContentDatabase'
|
||
|
||
export default async function NotFound() {
|
||
const db = await getDb()
|
||
const sidebar = await db.getSidebarContentList({})
|
||
|
||
return (
|
||
<div className="wrapper">
|
||
<div className="layout">
|
||
<Header />
|
||
<Sidebar {...sidebar} />
|
||
<main className="main-content article">
|
||
<div className="page-header">
|
||
<h1>Not found.</h1>
|
||
</div>
|
||
<p>There’s nothing here. :(</p>
|
||
</main>
|
||
</div>
|
||
</div>
|
||
)
|
||
}
|