Skip to content

Commit 5fd4a6a

Browse files
committed
Fixed lint error
1 parent 337ae03 commit 5fd4a6a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/module/src/ResponseActions/ResponseActions.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,7 @@ export const ResponseActions: FunctionComponent<ResponseActionProps> = ({
158158
// We want to append the tooltip inline so that hovering the tooltip keeps the actions container visible
159159
// when showActionsOnInteraction is true. Otherwise hovering the tooltip causes the actions container
160160
// to disappear but the tooltip will remain visible.
161-
const getTooltipContainer = (): HTMLElement => {
162-
return responseActions.current || document.body;
163-
};
161+
const getTooltipContainer = (): HTMLElement => responseActions.current || document.body;
164162

165163
const getTooltipProps = (tooltipProps?: TooltipProps) =>
166164
({

0 commit comments

Comments
 (0)