Skip to content

Commit 33acaac

Browse files
committed
change(document): update ItemList component example to remove type annotation
1 parent dd8d1be commit 33acaac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

document/07-frontend.ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ CSS だけではなく、各コンポーネントで return されている HTML
8282
Web フロントエンドでは、コードの動作を確認したい箇所に`console.debug()`を仕込むことで、実行時の値や状態を確認することができます。例えば`ItemList.tsx`の場合:
8383

8484
```typescript
85-
export const ItemList: Prop = (props: Prop) => {
85+
export const ItemList = (props: Prop) => {
8686
...
8787
useEffect(() => {
8888
const fetchData = () => {

0 commit comments

Comments
 (0)