From 1dca764166c207f2381c9f08c1962a38299e4c62 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Tue, 12 Jan 2016 12:34:55 +0100 Subject: [PATCH] Use Link instead of an anchor for AccordionList's empty placeholder to avoid page refresh --- js/components/ascribe_accordion_list/accordion_list.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/components/ascribe_accordion_list/accordion_list.js b/js/components/ascribe_accordion_list/accordion_list.js index 1046ab7f..f1967edb 100644 --- a/js/components/ascribe_accordion_list/accordion_list.js +++ b/js/components/ascribe_accordion_list/accordion_list.js @@ -1,6 +1,8 @@ 'use strict'; import React from 'react'; +import { Link } from 'react-router'; + import { getLangText } from '../../utils/lang_utils'; @@ -36,7 +38,7 @@ let AccordionList = React.createClass({

{getLangText('To register one, click')}  - {getLangText('here')}! + {getLangText('here')}!

);