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 f62fa26..96ed4a4 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 / 1000).toString() })} + text={t("boardDisconnected", { retryingInSeconds: Math.ceil(webSocketBackoffMs ?? 0 / 1000).toString() })} className={className} /> }