Skip to content

Commit 872f9a3

Browse files
committed
Delete React.FC in sample code because of code-conventions change
1 parent a33e216 commit 872f9a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/best-practices.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ Markdown will be translated as whole pages of content, so no specific action is
8383

8484
```tsx
8585
// Example
86-
import React, { useState, useEffect } from "react"
86+
import React, { useState, useEffect} from "react"
8787
88-
const ComponentName: React.FC = (props) => {
88+
const ComponentName = () => {
8989
// useState hook for managing state variables
9090
const [greeting, setGreeting] = useState("")
9191

0 commit comments

Comments
 (0)