aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/not-found.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/groups/not-found.tsx')
-rw-r--r--src/app/groups/not-found.tsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/app/groups/not-found.tsx b/src/app/groups/not-found.tsx
new file mode 100644
index 0000000..d4532e1
--- /dev/null
+++ b/src/app/groups/not-found.tsx
@@ -0,0 +1,15 @@
+import { Button } from '@/components/ui/button'
+import Link from 'next/link'
+
+export default function NotFound() {
+ return (
+ <div className="flex flex-col gap-2">
+ <p>This group does not exist.</p>
+ <p>
+ <Button asChild variant="secondary">
+ <Link href="/groups">Go to recently visited groups</Link>
+ </Button>
+ </p>
+ </div>
+ )
+}