mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Use Link instead of an anchor for AccordionList's empty placeholder to avoid page refresh
This commit is contained in:
parent
ed264d8511
commit
1dca764166
@ -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({
|
||||
</p>
|
||||
<p className="text-center">
|
||||
{getLangText('To register one, click')}
|
||||
<a href="register_piece">{getLangText('here')}</a>!
|
||||
<Link to="/register_piece">{getLangText('here')}</Link>!
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user