Skip to content

Commit efe4a1d

Browse files
committed
add not found component
1 parent bd0627c commit efe4a1d

File tree

1 file changed

+1
-0
lines changed
  • e2e/solid-start/serialization-adapters/src/routes

1 file changed

+1
-0
lines changed

e2e/solid-start/serialization-adapters/src/routes/__root.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export const Route = createRootRoute({
2929
links: [{ rel: 'stylesheet', href: appCss }],
3030
}),
3131
shellComponent: RootDocument,
32+
notFoundComponent: (e) => <div>404 - Not Found {JSON.stringify(e.data)}</div>,
3233
})
3334

3435
function RootDocument({ children }: { children: JSX.Element }) {

0 commit comments

Comments
 (0)