diff --git a/dashboards-observability/public/components/common/live_tail/live_tail_button.tsx b/dashboards-observability/public/components/common/live_tail/live_tail_button.tsx
index d6d4dff7c..0e53152fa 100644
--- a/dashboards-observability/public/components/common/live_tail/live_tail_button.tsx
+++ b/dashboards-observability/public/components/common/live_tail/live_tail_button.tsx
@@ -11,45 +11,45 @@ import { LiveTailProps } from "common/types/explorer";
//Live Tail Button
export const LiveTailButton = ({
- isLiveTailOn,
- isLiveTailPopoverOpen,
- setIsLiveTailPopoverOpen,
- liveTailName,
- dataTestSubj
+ isLiveTailOn,
+ isLiveTailPopoverOpen,
+ setIsLiveTailPopoverOpen,
+ liveTailName,
+ dataTestSubj,
}: LiveTailProps) => {
- const liveButton = useMemo(() => {
- return (
- setIsLiveTailPopoverOpen(!isLiveTailPopoverOpen)}
- data-test-subj={dataTestSubj}
- >
- {liveTailName}
-
- );
- }, [isLiveTailPopoverOpen, isLiveTailOn]);
- return liveButton;
+ const liveButton = useMemo(() => {
+ return (
+ setIsLiveTailPopoverOpen(!isLiveTailPopoverOpen)}
+ data-test-subj={dataTestSubj}
+ >
+ {liveTailName}
+
+ );
+ }, [isLiveTailPopoverOpen, isLiveTailOn]);
+ return liveButton;
};
export const StopLiveButton = (props: any) => {
- const { StopLive, dataTestSubj } = props;
+ const { StopLive, dataTestSubj } = props;
- const stopButton = () => {
- return (
- StopLive()}
- color="danger"
- data-test-subj={dataTestSubj}
- >
- Stop
-
- );
- };
- return stopButton();
+ const stopButton = () => {
+ return (
+ StopLive()}
+ color="danger"
+ data-test-subj={dataTestSubj}
+ >
+ Stop
+
+ );
+ };
+ return stopButton();
};
export const sleep = (milliseconds: number | undefined) => {
- return new Promise(resolve => setTimeout(resolve, milliseconds));
+ return new Promise((resolve) => setTimeout(resolve, milliseconds));
};