diff --git a/app/routes/$.tsx b/app/routes/$.tsx index b26d52a1..1739b3d6 100644 --- a/app/routes/$.tsx +++ b/app/routes/$.tsx @@ -9,7 +9,11 @@ import { Link, useLocation } from '@remix-run/react' import { GeneralErrorBoundary } from '#app/components/error-boundary.tsx' import { Icon } from '#app/components/ui/icon.tsx' -export async function loader() { +export function loader() { + throw new Response('Not found', { status: 404 }) +} + +export function action() { throw new Response('Not found', { status: 404 }) }