mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-25 01:34:18 +00:00
Fix the wrong number of seconds to reconnection getting displayed
This commit is contained in:
parent
9c6b9f9b3d
commit
3a30bceb80
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ export function BoardMain({lang, className, columning, sorting, grouping, setEdi
|
||||||
case WebSocket.CLOSED:
|
case WebSocket.CLOSED:
|
||||||
return <SplashWithIcon
|
return <SplashWithIcon
|
||||||
icon={<FontAwesomeIcon size={"4x"} icon={faLinkSlash}/>}
|
icon={<FontAwesomeIcon size={"4x"} icon={faLinkSlash}/>}
|
||||||
text={t("boardDisconnected", { retryingInSeconds: Math.ceil(webSocketBackoffMs ?? 0 / 1000).toString() })}
|
text={t("boardDisconnected", { retryingInSeconds: Math.ceil((webSocketBackoffMs ?? 0) / 1000).toString() })}
|
||||||
className={className}
|
className={className}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue