Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Heenawter committed May 25, 2023
1 parent d3eb86e commit 57dc9ba
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -31,7 +31,6 @@ const SwitchWithTooltip = ({
tooltip,
initialChecked,
onSwitchChange,
...rest
}: {
label: string;
tooltip: string;
Expand All @@ -41,7 +40,7 @@ const SwitchWithTooltip = ({
const [checked, setChecked] = useState(initialChecked);

return (
<EuiFlexGroup alignItems="center" gutterSize="xs" {...rest}>
<EuiFlexGroup alignItems="center" gutterSize="xs">
<EuiFlexItem grow={false}>
<EuiSwitch
label={label}
Expand All @@ -50,7 +49,6 @@ const SwitchWithTooltip = ({
setChecked(event.target.checked);
onSwitchChange();
}}
{...rest}
/>
</EuiFlexItem>
<EuiFlexItem
Expand Down

0 comments on commit 57dc9ba

Please sign in to comment.