Skip to content

Commit c69586f

Browse files
committed
fix: differentiate reconnect title based on nextRetryAt state
When nextRetryAt is null the connection is actively retrying, so show 'Reconnecting to T3 Server' instead of the same 'Disconnected' string that is used when waiting for the next scheduled retry.
1 parent 4cd078a commit c69586f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/components/WebSocketConnectionSurface.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function describeExhaustedToast(): string {
6060

6161
function buildReconnectTitle(status: WsConnectionStatus): string {
6262
if (status.nextRetryAt === null) {
63-
return "Disconnected from T3 Server";
63+
return "Reconnecting to T3 Server";
6464
}
6565

6666
return "Disconnected from T3 Server";

0 commit comments

Comments
 (0)