Description
The React app has no error boundary component wrapping the root application. Any error in any component (rendering error, hook failure, lifecycle error) will crash the entire application and display a blank white screen.
Steps to Reproduce
- Open CommDesk
- Navigate to a component with a rendering error (e.g., if a component tries to access an undefined object property)
- Observe that the entire app crashes with no error message
Expected result: Error boundary catches the error, logs it, and shows a fallback UI with a recovery option.
Actual result: Entire app crashes.
Expected Behavior
Implement an error boundary component that catches errors and provides a fallback UI.
Root Cause
No error boundary was implemented at the App root level.
Proposed Fix
Create src/component/ErrorBoundary.tsx and wrap the App component.
Checklist
@NexGenStudioDev Could you please /assign this issue to me? I would like to implement error boundary under NSOC '26.
/assign
Description
The React app has no error boundary component wrapping the root application. Any error in any component (rendering error, hook failure, lifecycle error) will crash the entire application and display a blank white screen.
Steps to Reproduce
Expected result: Error boundary catches the error, logs it, and shows a fallback UI with a recovery option.
Actual result: Entire app crashes.
Expected Behavior
Implement an error boundary component that catches errors and provides a fallback UI.
Root Cause
No error boundary was implemented at the App root level.
Proposed Fix
Create
src/component/ErrorBoundary.tsxand wrap the App component.Checklist
@NexGenStudioDev Could you please /assign this issue to me? I would like to implement error boundary under NSOC '26.
/assign