feat: Add tooltip to charts toggle.

This commit is contained in:
Cody Ogden 2021-11-19 01:07:12 -06:00
parent 2575cbfc11
commit c6bb0a6c3c

View File

@ -40,7 +40,11 @@ export default function WebsiteList({ userId }) {
return (
<Page>
<div className={styles.menubar}>
<Button icon={<Chart />} onClick={() => setHideCharts(!hideCharts)} />
<Button
tooltip={<FormattedMessage id="message.toggle-charts" defaultMessage="Toggle Charts" />}
icon={<Chart />}
onClick={() => setHideCharts(!hideCharts)}
/>
</div>
{data.map(({ website_id, name, domain }) => (
<div key={website_id} className={styles.website}>