We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 647589b commit 0864a47Copy full SHA for 0864a47
app/routes/$.tsx
@@ -9,7 +9,11 @@ import { Link, useLocation } from '@remix-run/react'
9
import { GeneralErrorBoundary } from '#app/components/error-boundary.tsx'
10
import { Icon } from '#app/components/ui/icon.tsx'
11
12
-export async function loader() {
+export function loader() {
13
+ throw new Response('Not found', { status: 404 })
14
+}
15
+
16
+export function action() {
17
throw new Response('Not found', { status: 404 })
18
}
19
0 commit comments