Added summary stats query.

This commit is contained in:
Mike Cao 2020-07-29 00:16:02 -07:00
parent 18de85a06d
commit f9a6f5f637
5 changed files with 61 additions and 13 deletions

View file

@ -33,7 +33,7 @@ export default function WebsiteStats({ websiteId, startDate, endDate, unit }) {
return (
<div>
<WebsiteSummary data={{ pageviews, uniques }} />
<WebsiteSummary websiteId={websiteId} startDate={startDate} endDate={endDate} />
<PageviewsChart data={{ pageviews, uniques }} unit={unit} />
</div>
);