Formatted, fixed some ttp stuff

This commit is contained in:
Alois 2026-03-14 19:58:13 +01:00
commit d77271e4b7
27 changed files with 1089 additions and 371 deletions

View file

@ -271,7 +271,9 @@ export default function Provider(props: { children: React.ReactNode }) {
if (isStopSendingError(connectError)) {
clearReconnectTimer();
setError("Connection closed");
setErrorDescription("Connection closed");
setErrorDescription(
"The connection was forcefully closed by the Omikron.",
);
return;
}
@ -366,7 +368,9 @@ export default function Provider(props: { children: React.ReactNode }) {
if (isStopSendingError(identificationError)) {
setError("Connection closed");
setErrorDescription("Connection closed");
setErrorDescription(
"The connection was forcefully closed by the Omikron.",
);
setIdentified(false);
return;
}