From be01fd2faaad2feebdb31f7a813a636d93356db8 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Sat, 14 Nov 2020 14:38:35 -0500 Subject: Add alert level and clean up colors --- src/History.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/History.js') diff --git a/src/History.js b/src/History.js index c559d83..6b42460 100644 --- a/src/History.js +++ b/src/History.js @@ -32,7 +32,7 @@ const History = (props) => { margin={{ top: 15, right: 30, left: 20, bottom: 5 }} data={data} > - + { if (active) { return ( -
+

{DateTime.fromSeconds(label).toLocaleString()}

{payload[0].value}

-- cgit v1.2.3