propublica / facebook-political-ads

Monitoring Facebook Political Ads
MIT License
237 stars 50 forks source link

Jest complaining about missing key #55

Closed thejefflarson closed 6 years ago

thejefflarson commented 6 years ago

When I run the jest tests I get a warning about a missing key in groupedattrs:

  console.error node_modules/react/node_modules/fbjs/lib/warning.js:33
  Warning: Each child in an array or iterator should have a unique "key" prop.
  Check the top-level render call using <tbody>. See https://fb.me/react-warning-keys for more information.
      in tr

@jeremybmerrill wanna take a look?

jeremybmerrill commented 6 years ago

a little bit of skew between the code and the tests; fixed