mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-25 01:34:18 +00:00
Fix type error in BoardMain
This commit is contained in:
parent
77227e9fe7
commit
e8d16b34ca
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 / 1000).toString() })}
|
text={t("boardDisconnected", { retryingInSeconds: Math.ceil(webSocketBackoffMs ?? 0 / 1000).toString() })}
|
||||||
className={className}
|
className={className}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue