From ef4a7d38f49d6fc8ec197f3fb20f5cb9cadcf685 Mon Sep 17 00:00:00 2001 From: Chris Bobbe Date: Sat, 30 Jan 2021 17:28:55 -0500 Subject: [PATCH] ChatNavBar [nfc]: Pass `undefined` instead of 'transparent'. This should be equivalent, and it'll help with a simplification we're about to do. --- src/nav/ChatNavBar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nav/ChatNavBar.js b/src/nav/ChatNavBar.js index 1241342db6a..adaf53649ad 100644 --- a/src/nav/ChatNavBar.js +++ b/src/nav/ChatNavBar.js @@ -42,7 +42,8 @@ export default function ChatNavBar(props: Props) { ? 'hsla(0, 0%, 50%, 0.25)' : Color(backgroundColor).darken(0.1), borderBottomWidth: 1, - backgroundColor, + backgroundColor: + backgroundColor === DEFAULT_TITLE_BACKGROUND_COLOR ? undefined : backgroundColor, }} >