Skip to content

Commit 2334668

Browse files
Copilotjonrohan
andcommitted
Fix lint and format errors in UnderlineNav changes
Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com>
1 parent 031dbaf commit 2334668

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/react/src/UnderlineNav/UnderlineNav.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ describe('UnderlineNav', () => {
202202
render(
203203
<UnderlineNav aria-label="Repository">
204204
<UnderlineNav.Item className="custom-class">Item 1</UnderlineNav.Item>
205-
</UnderlineNav>
205+
</UnderlineNav>,
206206
)
207207
const item = screen.getByRole('link', {name: 'Item 1'})
208208
expect(item.className).toContain('custom-class')

packages/react/src/internal/components/UnderlineTabbedInterface.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ export const UnderlineItem = forwardRef(
107107
forwardedRef,
108108
) => {
109109
return (
110-
<BoxWithFallback
111-
ref={forwardedRef}
112-
as={as}
113-
sx={sxProp}
114-
className={clsx(classes.UnderlineItem, className)}
110+
<BoxWithFallback
111+
ref={forwardedRef}
112+
as={as}
113+
sx={sxProp}
114+
className={clsx(classes.UnderlineItem, className)}
115115
{...rest}
116116
>
117117
{iconsVisible && Icon && <span data-component="icon">{isElement(Icon) ? Icon : <Icon />}</span>}

0 commit comments

Comments
 (0)