From 397b232ba1d37c7a8157107eda7219b40c15967a Mon Sep 17 00:00:00 2001 From: James Sturgis Date: Thu, 20 Jan 2022 17:23:51 +0100 Subject: [PATCH] Update src/components/histogram/histogram.tsx Co-authored-by: Hannah Park <70654324+hannahcode@users.noreply.github.com> --- src/components/histogram/histogram.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/histogram/histogram.tsx b/src/components/histogram/histogram.tsx index 09ca247..4e93383 100644 --- a/src/components/histogram/histogram.tsx +++ b/src/components/histogram/histogram.tsx @@ -8,7 +8,7 @@ export const Histogram = ({ data }: Props) => { const min = 10 const max = Math.ceil(Math.max.apply(null, data)*1.2) return( -
+
{ data.map(( value, i ) => ( ))