diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-09-02 13:00:35 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-09-02 15:57:32 -0700 |
commit | 96aa78c9713580d087f877dcb95df2ec6d366cee (patch) | |
tree | 133d0b708e24dfdb085024ba142284f3d90f4384 /web/react/components/access_history_modal.jsx | |
parent | 58ec3cb19aac1123a24c556a741e44327f910a89 (diff) | |
download | chat-96aa78c9713580d087f877dcb95df2ec6d366cee.tar.gz chat-96aa78c9713580d087f877dcb95df2ec6d366cee.tar.bz2 chat-96aa78c9713580d087f877dcb95df2ec6d366cee.zip |
Fixed some react warnings involving missing keys in render arrays
Diffstat (limited to 'web/react/components/access_history_modal.jsx')
-rw-r--r-- | web/react/components/access_history_modal.jsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/web/react/components/access_history_modal.jsx b/web/react/components/access_history_modal.jsx index 9c8e7c6c3..a080150dd 100644 --- a/web/react/components/access_history_modal.jsx +++ b/web/react/components/access_history_modal.jsx @@ -89,7 +89,10 @@ export default class AccessHistoryModal extends React.Component { } accessList[i] = ( - <div className='access-history__table'> + <div + key={'accessHistoryEntryKey' + i} + className='access-history__table' + > <div className='access__date'>{newDate}</div> <div className='access__report'> <div className='report__time'>{newHistoryDate.toLocaleTimeString(navigator.language, {hour: '2-digit', minute: '2-digit'})}</div> |