errorCountString is not a function

This commit is contained in:
controlol 2021-10-31 21:48:53 +01:00
parent 9d1dbc35f6
commit ce81c77c88

View File

@ -19,7 +19,7 @@ const Error = ({ errorCount, lastError }) => {
const imageSource = errorCount > 0 ? ErrorCircle : CheckCircle
const ErrorToolTipString = errorCount > 0 ? `${errorCountString()} since Rclone started<br/>Last error: ${lastError}` : "0 errors since Rclone started"
const ErrorToolTipString = errorCount > 0 ? `${errorCountString} since Rclone started<br/>Last error: ${lastError}` : "0 errors since Rclone started"
return (
<ErrorContainer data-tip={ErrorToolTipString} data-for="error-cnt" >