From 336486484abab08c6374c6badc8283c41ce412f8 Mon Sep 17 00:00:00 2001 From: erinz2020 Date: Thu, 4 Jan 2024 20:47:24 +0000 Subject: [PATCH] adjust text color and fix a small bug --- src/pages/dataPage/DataPage.jsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pages/dataPage/DataPage.jsx b/src/pages/dataPage/DataPage.jsx index e75b24ab..41aadf9e 100644 --- a/src/pages/dataPage/DataPage.jsx +++ b/src/pages/dataPage/DataPage.jsx @@ -190,6 +190,12 @@ export default function DataPage() { onChange={e => { setSelected(e.target.value); }} + style={{ + color: theme.palette.common.white, + fontSize: 16, + fontWeight: 500, + paddingLeft: 10, + }} > @@ -325,7 +331,7 @@ export default function DataPage() { {intl.formatMessage( { id: 'TotalAccount' }, - { totalAccount: resultCountSightings }, + { totalAccount: resultCountSightings || 0 }, )}