fixup-add-object-entries-map calls
authorCarl Worth <cworth@cworth.org>
Sun, 14 Jun 2020 18:54:25 +0000 (11:54 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 14 Jun 2020 18:54:25 +0000 (11:54 -0700)
empathy/empathy.jsx

index dcd558f9639c33d8ee70d555ec20f2490fef88b2..ee92ab3d7b556d2c4d4f2d236363af825efc37b5 100644 (file)
@@ -478,7 +478,7 @@ class Ambiguities extends React.PureComponent {
             Still waiting for the following players:
           </p>
           <ul>
-            {Object.entries(this.props.players_judging).map(player => {
+            {Object.keys(this.props.players_judging).map(player => {
               return (
                 <li
                   key={player}
@@ -612,7 +612,7 @@ class ActivePrompt extends React.PureComponent {
           Still waiting for the following players:
           </p>
           <ul>
-            {Object.entries(this.props.players_answering).map(player => {
+            {Object.keys(this.props.players_answering).map(player => {
               return (
                 <li
                   key={player}