From 96aa78c9713580d087f877dcb95df2ec6d366cee Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Wed, 2 Sep 2015 13:00:35 -0700
Subject: Fixed some react warnings involving missing keys in render arrays

---
 web/react/components/navbar.jsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'web/react/components/navbar.jsx')

diff --git a/web/react/components/navbar.jsx b/web/react/components/navbar.jsx
index d6cf4f9d6..2258bf2b3 100644
--- a/web/react/components/navbar.jsx
+++ b/web/react/components/navbar.jsx
@@ -274,6 +274,7 @@ export default class Navbar extends React.Component {
         if (currentId == null) {
             buttons.push(
                 <button
+                    key='navbar-toggle-collapse'
                     type='button'
                     className='navbar-toggle'
                     data-toggle='collapse'
@@ -288,6 +289,7 @@ export default class Navbar extends React.Component {
         } else {
             buttons.push(
                 <button
+                    key='navbar-toggle-sidebar'
                     type='button'
                     className='navbar-toggle'
                     data-toggle='collapse'
@@ -304,6 +306,7 @@ export default class Navbar extends React.Component {
 
             buttons.push(
                 <button
+                    key='navbar-toggle-menu'
                     type='button'
                     className='navbar-toggle menu-toggle pull-right'
                     data-toggle='collapse'
-- 
cgit v1.2.3-1-g7c22

