feat(core): polish codebase, enhance error handling, security hardening, rate limiting, and a11y compliance
Deploy Canina / deploy (push) Successful in 1m43s
Deploy Canina / deploy (push) Successful in 1m43s
This commit is contained in:
1 parent
70c2627d93
commit
7b89e141c5
17 files changed
+237
-17
No files matched your search
@@ -0,0 +1,17 @@
|
||||
"use client";
|
||||
import React, { useEffect } from "react";
|
||||
import { ServerErrorPage } from "../../components/ErrorPages";
|
||||
|
||||
export default function B2BErrorBoundary({
|
||||
error,
|
||||
reset,
|
||||
}: {
|
||||
error: Error & { digest?: string };
|
||||
reset: () => void;
|
||||
}) {
|
||||
useEffect(() => {
|
||||
console.error("B2B Route Error:", error);
|
||||
}, [error]);
|
||||
|
||||
return <ServerErrorPage onRetry={reset} />;
|
||||
}
|
||||
Reference in new issue
Block a user