diff options
Diffstat (limited to 'scraper/client/paper/paper.citations.js')
| -rw-r--r-- | scraper/client/paper/paper.citations.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scraper/client/paper/paper.citations.js b/scraper/client/paper/paper.citations.js index de423a77..1789a815 100644 --- a/scraper/client/paper/paper.citations.js +++ b/scraper/client/paper/paper.citations.js @@ -1,6 +1,7 @@ import React, { Component } from 'react' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' +import { Link } from 'react-router-dom' import * as actions from '../actions' @@ -19,7 +20,7 @@ class PaperCitations extends Component { let cite = { ...citation } cite.id = { _raw: true, - value: <a href={'/api/address/' + dataset.key + '/' + citation.id}>{citation.id}</a> + value: <Link to={'/paper/' + dataset.key + '/address/' + citation.id}>{citation.id}</Link> } cite.pdf = { _raw: true, |
