Skip to content

Commit

Permalink
Fix deprecated API usage
Browse files Browse the repository at this point in the history
  • Loading branch information
queicherius committed Dec 1, 2024
1 parent 29e5a1f commit ca247fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/reactFile.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import React, { ReactElement } from 'react'

// This is a Button component
export const Button = (): JSX.Element => {
export const Button = (): ReactElement => {
return <div>Foo Bar</div>
}

0 comments on commit ca247fa

Please sign in to comment.