From d7cc3b52d47ed3836cea1d82951ea4db6e8c591d Mon Sep 17 00:00:00 2001
From: Carl Worth
Date: Mon, 29 Jun 2020 08:05:23 -0700
Subject: [PATCH] Add key to list of PromptOption components
This is the classic thing to overlook in React programming. It's easy
to forget the key until React warns that it's missing.
---
empathy/empathy.jsx | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx
index 4151cf7..feff777 100644
--- a/empathy/empathy.jsx
+++ b/empathy/empathy.jsx
@@ -414,7 +414,13 @@ const PromptOptions = React.memo(props => {
Select any categories below that you'd like to play.
You can choose as many as you'd like.
- {props.prompts.map(p => )}
+ {props.prompts.map(
+ prompt =>
+ )}
);
});
--
2.43.0