Skip to content

Commit 406964e

Browse files
committed
Update existing usage
1 parent e7c4f97 commit 406964e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/compass-aggregations/src/components/pipeline-toolbar/pipeline-header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const containedElements = [
7171
const SavedPipelinesButton: React.FunctionComponent = () => {
7272
const [isVisible, setIsVisible] = useState(false);
7373
return (
74-
<InteractivePopover
74+
<InteractivePopover<HTMLButtonElement>
7575
className={savedAggregationsPopoverStyles}
7676
// To prevent popover from closing when confirmation modal is shown
7777
containedElements={containedElements}

packages/compass-components/src/components/signal-popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ const SignalPopover: React.FunctionComponent<SignalPopoverProps> = ({
524524
`calc(14px + ${' insight'.length}ch)`;
525525

526526
return (
527-
<InteractivePopover
527+
<InteractivePopover<HTMLButtonElement>
528528
className={cx(
529529
popoverStyles,
530530
// If trigger is not visible, we are in this weird state where trigger

packages/compass-query-bar/src/components/query-history-button-popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const QueryHistoryButtonPopover = ({
7373
}, [setIsOpen]);
7474

7575
return (
76-
<InteractivePopover
76+
<InteractivePopover<HTMLButtonElement>
7777
className={queryHistoryPopoverStyles}
7878
trigger={({ onClick, ref, children }) => (
7979
<>

packages/compass-sidebar/src/components/connections-filter-popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default function ConnectionsFilterPopover({
102102
onMouseLeave={handleButtonMouseLeave}
103103
active={open}
104104
aria-label="Filter connections"
105-
ref={ref as React.Ref<unknown>}
105+
ref={ref}
106106
>
107107
<Icon glyph="Filter" />
108108
{isActivated && (

0 commit comments

Comments
 (0)