From 3a30bceb8061a232b4f556251ccc38c59fb79987 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 19 Aug 2023 05:25:52 +0200 Subject: [PATCH] Fix the wrong number of seconds to reconnection getting displayed --- .../src/app/[lang]/board/[board]/(page)/(view)/BoardMain.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todoblue/src/app/[lang]/board/[board]/(page)/(view)/BoardMain.tsx b/todoblue/src/app/[lang]/board/[board]/(page)/(view)/BoardMain.tsx index 96ed4a4..90404f4 100644 --- a/todoblue/src/app/[lang]/board/[board]/(page)/(view)/BoardMain.tsx +++ b/todoblue/src/app/[lang]/board/[board]/(page)/(view)/BoardMain.tsx @@ -54,7 +54,7 @@ export function BoardMain({lang, className, columning, sorting, grouping, setEdi case WebSocket.CLOSED: return } - text={t("boardDisconnected", { retryingInSeconds: Math.ceil(webSocketBackoffMs ?? 0 / 1000).toString() })} + text={t("boardDisconnected", { retryingInSeconds: Math.ceil((webSocketBackoffMs ?? 0) / 1000).toString() })} className={className} /> }