Skip to content

Commit 31e3d95

Browse files
committed
Fixed lint error
1 parent 75637cd commit 31e3d95

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/module/src/ResponseActions/ResponseActions.tsx

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

193191
const getTooltipProps = (tooltipProps?: TooltipProps) =>
194192
({

0 commit comments

Comments
 (0)