From 7bdbab144e09d4edf793ff5128080eb1dba79be4 Mon Sep 17 00:00:00 2001 From: "J.P. Anderson-Young" Date: Sun, 24 Mar 2024 07:43:33 -0700 Subject: [PATCH] Fix missing id properties in docs example (#6395) 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 108e394e2..32f81c447 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', }];