diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-02-13 19:19:10 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-02-13 19:19:10 +0100 |
| commit | 5c176ce457f195dfad15d0c7d01d36fc2f9fdbdd (patch) | |
| tree | 5b86773170303e86edf54c135b9fb4750cbb3df2 /scraper/client/paper/paper.citations.js | |
| parent | 83063b97105c7514d71ec2afaaf66def49116214 (diff) | |
possible PDF embed
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, |
