MCPcopy Create free account
hub / github.com/TanStack/db / NotFound

Function NotFound

examples/react/projects/src/components/NotFound.tsx:3–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { Link } from '@tanstack/react-router'
2
3export function NotFound() {
4 return (
5 <div className="min-h-screen bg-gray-50 flex items-center justify-center">
6 <div className="text-center">
7 <h1 className="text-4xl font-bold text-gray-800 mb-4">
8 Page Not Found
9 </h1>
10 <p className="text-gray-600 mb-6">
11 The page you are looking for does not exist.
12 </p>
13 <Link
14 to="/"
15 className="px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600"
16 >
17 Go Home
18 </Link>
19 </div>
20 </div>
21 )
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected