]> git.cworth.org Git - lmno.games/commit
Add a containing div element to the "still waiting" component chunks
authorCarl Worth <cworth@cworth.org>
Sun, 28 Jun 2020 16:08:06 +0000 (09:08 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 28 Jun 2020 16:08:06 +0000 (09:08 -0700)
commitf9c9dec19b3ee6e272683301d49c3add6fb176f8
tree80b5cdbc748414a66d2152b9cba6c9a89a7e8232
parent49d80bcfff46b8d9efa846decf9415e43ea354f5
Add a containing div element to the "still waiting" component chunks

And drop the use of a list.

The list was annoying because it was triggering the React warning:

Each child in a list should have a unique "key" prop

And in this case, it seemed really silly to have to name/distinguish
the <p> element from the following <ul> element.

And this new <div> does give us a logical place to treat this chunk of
the document as a single element if needed, so this is the logically
correct thing to do.
empathy/empathy.jsx