Skip to content

Open-source status page, incident response and uptime monitoring

fix: nuqs adapter not-found (#2084)

Maximilian Kaske946ec16d4d37
diff --git a/apps/status-page/src/app/not-found.tsx b/apps/status-page/src/app/not-found.tsx
index b31807d8d..9e1feb329 100644
--- a/apps/status-page/src/app/not-found.tsx
+++ b/apps/status-page/src/app/not-found.tsx
@@ -1,6 +1,7 @@
"use client";
import { useRouter } from "next/navigation";
+import { NuqsAdapter } from "nuqs/adapters/next/app";
import { Suspense } from "react";
import { Link } from "@/components/common/link";
@@ -9,9 +10,11 @@ import { Button } from "@openstatus/ui/components/ui/button";
export default function NotFound() {
return (
- <Suspense>
- <NotFoundContent />
- </Suspense>
+ <NuqsAdapter>
+ <Suspense>
+ <NotFoundContent />
+ </Suspense>
+ </NuqsAdapter>
);
}