Skip to content

Commit

Permalink
Use timestamp as payload id in ListItem
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonEtco committed Mar 31, 2019
1 parent e1d085a commit 91ace75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/components/ListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class ListItem extends Component {

const event = item['x-github-event']
const payload = item.body
const id = item['x-github-delivery']
const id = item['x-github-delivery'] || item.timestamp

return (
<li className={`p-3 ${last ? '' : 'border-bottom'}`}>
Expand Down

0 comments on commit 91ace75

Please sign in to comment.