Don't say "(Can't be this color)" while loading

This commit is contained in:
Emi Matchu 2021-02-03 01:53:09 -08:00
parent 4431c43663
commit 082af11b5b

View file

@ -957,7 +957,9 @@ function SpeciesFaceOption({
const cursor = isLoading ? "wait" : isDisabled ? "not-allowed" : "pointer";
let disabledExplanation = null;
if (!isValid) {
if (isLoading) {
// If we're still loading, don't try to explain anything yet!
} else if (!isValid) {
disabledExplanation = "(Can't be this color)";
} else if (!bodyIsCompatible) {
disabledExplanation = couldProbablyModelMoreData