Skip to content

Commit 1004745

Browse files
authored
Merge pull request #12072 from HiroyukiNaito/01312024_1
Delete React.FC in sample code because of code-conventions change
2 parents 3e83d04 + d178225 commit 1004745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Markdown will be translated as whole pages of content, so no specific action is
8585
// Example
8686
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)