diff options
author | Corey Hulen <corey@hulen.com> | 2015-09-02 16:04:12 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-09-02 16:04:12 -0700 |
commit | 83788409a2fd5fdcbf9f55e86a73cf83cd9e1763 (patch) | |
tree | 133d0b708e24dfdb085024ba142284f3d90f4384 /web/react/components/access_history_modal.jsx | |
parent | 58ec3cb19aac1123a24c556a741e44327f910a89 (diff) | |
parent | 96aa78c9713580d087f877dcb95df2ec6d366cee (diff) | |
download | chat-83788409a2fd5fdcbf9f55e86a73cf83cd9e1763.tar.gz chat-83788409a2fd5fdcbf9f55e86a73cf83cd9e1763.tar.bz2 chat-83788409a2fd5fdcbf9f55e86a73cf83cd9e1763.zip |
Merge pull request #569 from rgarmsen2295/fix-react-key-warnings
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> |