Commit 021559b6 authored by ns17's avatar ns17

excluding console.log

parent e8e70d4e
......@@ -41,7 +41,6 @@ const COLORS = ["#0E3959", "#0B7B6B", "#EA7C27", "#B66526", "#CA3828", "#363B1B"
const renderTooltipContent = (o) => {
const { payload, label } = o;
const total = payload.reduce((result, entry) => (parseFloat(result) + parseFloat(entry.value)).toFixed(2), 0);
console.log(total)
return (
<div className={"z-depth-3"} style={{ backgroundColor: "white" }}>
<div className="customized-tooltip-content" style={{ margin: 25 }}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment