Skip to content

Commit

Permalink
misc nits
Browse files Browse the repository at this point in the history
- import order
- remove unnecsesary fragment
  • Loading branch information
cee-chen committed Mar 9, 2024
1 parent c1aeb36 commit ee6bfbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/button/button_group/button_group.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import React from 'react';
import { css } from '@emotion/react';
import { fireEvent } from '@testing-library/react';
import {
render,
waitForEuiToolTipHidden,
Expand All @@ -16,13 +17,12 @@ import {
import { requiredProps as commonProps } from '../../../test';
import { shouldRenderCustomStyles } from '../../../test/internal';

import { BUTTON_COLORS } from '../../../themes/amsterdam/global_styling/mixins';
import {
EuiButtonGroup,
EuiButtonGroupOptionProps,
EuiButtonGroupProps,
} from './button_group';
import { BUTTON_COLORS } from '../../../themes/amsterdam/global_styling/mixins';
import { fireEvent } from '@testing-library/react';

const SIZES: Array<EuiButtonGroupProps['buttonSize']> = [
's',
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/button_group/button_group_button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,6 @@ const EuiButtonGroupButtonWithToolTip: FunctionComponent<
{children}
</EuiToolTip>
) : (
<>{children}</>
children
);
};

0 comments on commit ee6bfbd

Please sign in to comment.