Skip to content

chore: unify data desc in learn/rendering-lists #1529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions src/content/learn/rendering-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,24 +105,24 @@ Warning: Each child in a list should have a unique "key" prop.
```js
const people = [{
id: 0,
name: 'Creola Katherine Johnson',
profession: 'mathematician',
name: '凯瑟琳·约翰逊',
profession: '数学家',
}, {
id: 1,
name: 'Mario José Molina-Pasquel Henríquez',
profession: 'chemist',
name: '马里奥·莫利纳',
profession: '化学家',
}, {
id: 2,
name: 'Mohammad Abdus Salam',
profession: 'physicist',
name: '穆罕默德·阿卜杜勒·萨拉姆',
profession: '物理学家',
}, {
id: 3,
name: 'Percy Lavon Julian',
profession: 'chemist',
name: '珀西·莱温·朱利亚',
profession: '化学家',
}, {
id: 4,
name: 'Subrahmanyan Chandrasekhar',
profession: 'astrophysicist',
name: '苏布拉马尼扬·钱德拉塞卡',
profession: '天体物理学家',
}];
```

Expand Down
Loading