Skip to content

Commit

Permalink
update test component to normal react pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
jescalan committed Apr 30, 2020
1 parent c9c3ab9 commit c46ffcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion __tests__/fixtures/basic/components/test.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { useState } from 'react'

export default function Test({ name }) {
const [count, setCount] = React.useState(0)
const [count, setCount] = useState(0)
return (
<>
<p>hello {name}</p>
Expand Down

0 comments on commit c46ffcd

Please sign in to comment.