From 74e01c5390004ddbefde755d8e0909c8ce3c1a18 Mon Sep 17 00:00:00 2001 From: "J.P. Anderson-Young" Date: Sat, 28 Oct 2023 21:49:17 -0700 Subject: [PATCH] Add missing id properties to example This example contains a list of person objects, but only the first 3 have id properties. This appears to be a mistake; in the next use of the list all 5 person objects have this property, but it is not changed as part of an instructive exercise. This change makes the final two with objects consistent with the remainder of the list. --- src/content/learn/rendering-lists.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content/learn/rendering-lists.md b/src/content/learn/rendering-lists.md index 13ac932fbb5..e0133d59245 100644 --- a/src/content/learn/rendering-lists.md +++ b/src/content/learn/rendering-lists.md @@ -113,9 +113,11 @@ const people = [{ name: 'Mohammad Abdus Salam', profession: 'physicist', }, { + id: 3, name: 'Percy Lavon Julian', profession: 'chemist', }, { + id: 4, name: 'Subrahmanyan Chandrasekhar', profession: 'astrophysicist', }];