You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(inspector): use proper status indicator (#2849)
### TL;DR
Fixed the disconnected state in the ConnectionStatus component to only display when there's an actual error.
### What changed?
- Uncommented the `if (isError)` condition that was previously commented out
- Moved the disconnected state UI inside the conditional block
- Added the link icon as a `startIcon` prop to the Button component instead of as a child element
### How to test?
1. Intentionally cause a connection error in the application
2. Verify that the disconnected state UI only appears when there's an actual error
3. Check that the "Reconnect" button displays correctly with the link icon
### Why make this change?
The disconnected state was previously always showing regardless of connection status because the conditional check was commented out. This change ensures the error UI only displays when there's an actual connection error, improving the user experience by providing accurate connection status information.
0 commit comments