From 8581131fc7cbec02eb424f98db9ce9c358b79312 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Thu, 16 Jun 2016 17:28:42 +0200 Subject: [PATCH] Fix notification links causing page refreshes --- js/components/header_notifications.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/js/components/header_notifications.js b/js/components/header_notifications.js index 2f52908b..1c65fdd5 100644 --- a/js/components/header_notifications.js +++ b/js/components/header_notifications.js @@ -6,6 +6,7 @@ import Glyphicon from 'react-bootstrap/lib/Glyphicon'; import MenuItem from 'react-bootstrap/lib/MenuItem'; import Nav from 'react-bootstrap/lib/Nav'; +import LinkContainer from 'react-router-bootstrap/lib/LinkContainer'; import NotificationActions from '../actions/notification_actions'; import NotificationStore from '../stores/notification_store'; @@ -67,14 +68,13 @@ let HeaderNotifications = React.createClass({ : `/editions/${pieceOrEdition.bitcoin_id}`; return ( - - - + + + + + ); })}