From 652ede79f0e90e3e80fe7ec2ce87aea06b6b7cea Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Wed, 24 Nov 2021 13:22:29 -0600 Subject: [PATCH] fix(custom buttons): more null checking --- src/components/Home/Home.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Home/Home.js b/src/components/Home/Home.js index 54b7312..43c2954 100644 --- a/src/components/Home/Home.js +++ b/src/components/Home/Home.js @@ -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()} />