diff --git a/ui/components/component-library/avatar-icon/avatar-icon.test.tsx b/ui/components/component-library/avatar-icon/avatar-icon.test.tsx index 84d709de5ad0..9f92f3a00fc8 100644 --- a/ui/components/component-library/avatar-icon/avatar-icon.test.tsx +++ b/ui/components/component-library/avatar-icon/avatar-icon.test.tsx @@ -15,7 +15,6 @@ describe('AvatarIcon', () => { , ); expect(getByTestId('avatar-icon')).toBeDefined(); @@ -29,31 +28,29 @@ describe('AvatarIcon', () => { iconName={IconName.SwapHorizontal} size={AvatarIconSize.Xs} data-testid={AvatarIconSize.Xs} - children={undefined} /> , ); @@ -80,7 +77,6 @@ describe('AvatarIcon', () => { iconName={IconName.SwapHorizontal} className="mm-avatar-icon--test" data-testid="classname" - children={undefined} />, ); expect(getByTestId('classname')).toHaveClass('mm-avatar-icon--test'); @@ -91,7 +87,6 @@ describe('AvatarIcon', () => { , ); @@ -105,7 +100,6 @@ describe('AvatarIcon', () => { color={IconColor.successDefault} backgroundColor={BackgroundColor.successMuted} data-testid="success" - children={undefined} />, ); @@ -120,7 +114,6 @@ describe('AvatarIcon', () => { , ); expect(ref.current).not.toBeNull(); diff --git a/ui/components/component-library/avatar-icon/avatar-icon.types.ts b/ui/components/component-library/avatar-icon/avatar-icon.types.ts index b0f9597a46d4..1bf677686288 100644 --- a/ui/components/component-library/avatar-icon/avatar-icon.types.ts +++ b/ui/components/component-library/avatar-icon/avatar-icon.types.ts @@ -10,7 +10,7 @@ export enum AvatarIconSize { Xl = 'xl', } -export interface AvatarIconProps extends Omit { +export interface AvatarIconProps extends Omit { /** * The name of the icon to display. Should be one of IconName */