You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Face component, the faceValue property uses number type, but there are no guardrails on the value. You can end up with a broken image:
I wonder if it would be better to make this an enum to reflect the fixed list of possible values? Or at least handle the error case more gracefully so it doesn't result in a broken image icon.
The text was updated successfully, but these errors were encountered:
In the
Face
component, thefaceValue
property usesnumber
type, but there are no guardrails on the value. You can end up with a broken image:I wonder if it would be better to make this an enum to reflect the fixed list of possible values? Or at least handle the error case more gracefully so it doesn't result in a broken image icon.
The text was updated successfully, but these errors were encountered: