1
Fork 0
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:
Steffo 2023-08-16 16:55:46 +02:00
parent 77227e9fe7
commit e8d16b34ca
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -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}
/> />
} }