Replaced tooltip in pageviews chart.

This commit is contained in:
Mike Cao 2020-08-01 22:13:16 -07:00
parent 9c5762b8a2
commit 418793feaf
3 changed files with 22 additions and 33 deletions

View file

@ -75,7 +75,12 @@ export default function WebsiteChart({
/>
</div>
<div className="row">
<PageviewsChart className="col" data={{ pageviews, uniques }} unit={unit}>
<PageviewsChart
className="col"
websiteId={websiteId}
data={{ pageviews, uniques }}
unit={unit}
>
<QuickButtons value={value} onChange={handleDateChange} />
</PageviewsChart>
</div>