diff options
Diffstat (limited to 'scraper/client/paper/paper.unknown.js')
| -rw-r--r-- | scraper/client/paper/paper.unknown.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scraper/client/paper/paper.unknown.js b/scraper/client/paper/paper.unknown.js index 7a20f398..0cb7d2da 100644 --- a/scraper/client/paper/paper.unknown.js +++ b/scraper/client/paper/paper.unknown.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' @@ -20,7 +21,7 @@ class PaperUnknown 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, @@ -41,7 +42,6 @@ class PaperUnknown extends Component { ) } } - // order={['id', 'pdf', 'year']} const mapStateToProps = state => ({ api: state.api |
