Updated messages.

This commit is contained in:
Mike Cao 2022-02-22 13:31:37 -08:00
parent 7270d95240
commit 7071f5fba5
3 changed files with 6 additions and 12 deletions

View file

@ -11,7 +11,7 @@ export default function DevicesTable({ websiteId, ...props }) {
type="device"
metric={<FormattedMessage id="metrics.visitors" defaultMessage="Visitors" />}
websiteId={websiteId}
renderLabel={({ x }) => getDeviceMessage(x)}
renderLabel={({ x }) => <FormattedMessage {...getDeviceMessage(x)} />}
/>
);
}