Skip to content

Commit

Permalink
Fix element type in ref test
Browse files Browse the repository at this point in the history
Co-authored-by: Aram <[email protected]>
  • Loading branch information
VincentSmedinga and alimpens authored Dec 20, 2024
1 parent 038e8d7 commit 91c6552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/Figure/FigureCaption.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('Figure Caption', () => {
})

it('supports ForwardRef in React', () => {
const ref = createRef<HTMLAnchorElement>()
const ref = createRef<HTMLElement>()

const { container } = render(<FigureCaption ref={ref} />)

Expand Down

0 comments on commit 91c6552

Please sign in to comment.