Unverified Commit d5d3c604 authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Fix error toast pluralization (#12622)

parent 4a8b8961
......@@ -202,7 +202,9 @@ export const Errors: React.FC<ErrorsProps> = function Errors({ errors }) {
<line x1="12" y1="8" x2="12" y2="12"></line>
<line x1="12" y1="16" x2="12.01" y2="16"></line>
</svg>
<span>{readyErrors.length} errors</span>
<span>
{readyErrors.length} error{readyErrors.length > 1 ? 's' : ''}
</span>
</div>
</Toast>
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment