Move date range selection into redux.
This commit is contained in:
@@ -2,15 +2,13 @@ import React from 'react';
|
||||
import MetricsTable from './MetricsTable';
|
||||
import { deviceFilter } from 'lib/filters';
|
||||
|
||||
export default function DevicesTable({ websiteId, startDate, endDate, limit, onExpand }) {
|
||||
export default function DevicesTable({ websiteId, limit, onExpand }) {
|
||||
return (
|
||||
<MetricsTable
|
||||
title="Devices"
|
||||
type="device"
|
||||
metric="Visitors"
|
||||
websiteId={websiteId}
|
||||
startDate={startDate}
|
||||
endDate={endDate}
|
||||
limit={limit}
|
||||
dataFilter={deviceFilter}
|
||||
onExpand={onExpand}
|
||||
|
||||
Reference in New Issue
Block a user