Skip to content

Commit

Permalink
Remove tooltip.
Browse files Browse the repository at this point in the history
  • Loading branch information
briancao committed Aug 25, 2023
1 parent a6c52c2 commit 88458e4
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/components/pages/websites/WebsiteMetricsBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import MetricsBar from 'components/metrics/MetricsBar';
import FilterSelectForm from 'components/pages/reports/FilterSelectForm';
import PopupForm from 'components/pages/reports/PopupForm';
import { formatShortTime } from 'lib/format';
import { Button, Column, Icon, Icons, Popup, PopupTrigger, Row, TooltipPopup } from 'react-basics';
import { Button, Column, Icon, Icons, Popup, PopupTrigger, Row } from 'react-basics';
import styles from './WebsiteMetricsBar.module.css';

export function WebsiteMetricsBar({ websiteId, showFilter = true, sticky }) {
Expand Down Expand Up @@ -71,14 +71,12 @@ export function WebsiteMetricsBar({ websiteId, showFilter = true, sticky }) {
const WebsiteFilterButton = () => {
return (
<PopupTrigger>
<TooltipPopup label={formatMessage(labels.filter)} position="top">
<Button>
<Icon>
<Icons.Plus />
</Icon>
{formatMessage(labels.filter)}
</Button>
</TooltipPopup>
<Button>
<Icon>
<Icons.Plus />
</Icon>
{formatMessage(labels.filter)}
</Button>
<Popup position="bottom" alignment="start" className={styles.popup}>
{close => {
return (
Expand Down

0 comments on commit 88458e4

Please sign in to comment.