fix(custom buttons): more null checking

This commit is contained in:
Timothy Stewart 2021-11-24 13:22:29 -06:00
parent fbd47164d1
commit 652ede79f0

View File

@ -84,7 +84,7 @@ function Home(props) {
displayName={texts[i]?.trim()}
styles={{
backgroundColor: buttonColors[i]?.trim(),
color: textColors[i].trim(),
color: textColors[i]?.trim(),
}}
alt={altTexts[i]?.trim()}
/>