Created share token hook.

This commit is contained in:
Mike Cao 2020-10-11 02:29:55 -07:00
parent 4119e80a9a
commit 5a73c224b7
22 changed files with 90 additions and 49 deletions

View file

@ -3,7 +3,7 @@ import { FormattedMessage } from 'react-intl';
import MetricsTable from './MetricsTable';
import Tag from 'components/common/Tag';
export default function EventsTable({ websiteId, token, ...props }) {
export default function EventsTable({ websiteId, ...props }) {
return (
<MetricsTable
{...props}
@ -11,7 +11,6 @@ export default function EventsTable({ websiteId, token, ...props }) {
type="event"
metric={<FormattedMessage id="metrics.actions" defaultMessage="Actions" />}
websiteId={websiteId}
token={token}
renderLabel={({ x }) => <Label value={x} />}
/>
);