Skip to content

Commit 40f4ee9

Browse files
committed
refactor: reorder error handlers in GlobalErrorBoundary for improved clarity
1 parent 4456ee1 commit 40f4ee9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/ticket/src/shared/clientBoundary/ErrorBoundary/GlobalErrorBoundary

apps/ticket/src/shared/clientBoundary/ErrorBoundary/GlobalErrorBoundary/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { GlobalErrorPage } from "./components/GlobalErrorPage";
1212

1313
export const GlobalErrorBoundary = ({ children }: { children: React.ReactNode }) => (
1414
<ErrorBoundary
15-
handlers={[requiredLoginHandler, authErrorHandler, networkErrorHandler, globalErrorHandler]}
15+
handlers={[authErrorHandler, requiredLoginHandler, networkErrorHandler, globalErrorHandler]}
1616
>
1717
<Suspense>{children}</Suspense>
1818
</ErrorBoundary>

0 commit comments

Comments
 (0)