diff options
author | Galen Guyer <galen@galenguyer.com> | 2020-11-15 13:38:09 -0500 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2020-11-15 13:38:09 -0500 |
commit | 668f0ee2dcc2bea3647e43db019ec3d9ee61e00e (patch) | |
tree | a47aee13dd8f9f638cbe3f83ce4dd27bc873a9dd /src/History.js | |
parent | 80355db079489fc4a14d38e3d1f733ac40a65141 (diff) |
add goatcounter as page element to hopefully catch routing
Diffstat (limited to 'src/History.js')
-rw-r--r-- | src/History.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/History.js b/src/History.js index df5398b..2e710de 100644 --- a/src/History.js +++ b/src/History.js @@ -12,6 +12,7 @@ import { ResponsiveContainer, Label, } from "recharts"; +import GoatCounter from './GoatCounter'; const History = (props) => { const offset = DateTime.fromSQL(props.data[0].date, { zone: "UTC" }).setZone(DateTime.local().zoneName).toSeconds(); @@ -45,6 +46,7 @@ const History = (props) => { <YAxis dataKey="value" type="number"></YAxis> <Tooltip content={CustomTooltip} /> </LineChart> + <GoatCounter /> </> ); }; |