-
- Diese Seite ist nur für Administratoren verfügbar.
-
-
- );
+ return null;
}
return <>{children}>;
diff --git a/ApiCore-Frontend/src/app/not-found.tsx b/ApiCore-Frontend/src/app/not-found.tsx
new file mode 100644
index 0000000..aab4065
--- /dev/null
+++ b/ApiCore-Frontend/src/app/not-found.tsx
@@ -0,0 +1,5 @@
+import { redirect } from "next/navigation";
+
+export default function NotFound() {
+ redirect("/dashboard");
+}