From 159d4321352e4da62821c225f15765ba8d45976e Mon Sep 17 00:00:00 2001 From: Ryan Shea Date: Mon, 6 Mar 2017 11:07:42 -0500 Subject: [PATCH] convert a tags to Link tags in wallet and profile apps --- app/js/components/PageHeader.js | 5 +++-- app/js/pages/profiles/ProfilesApp.js | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/js/components/PageHeader.js b/app/js/components/PageHeader.js index 790d50e94..41de04101 100644 --- a/app/js/components/PageHeader.js +++ b/app/js/components/PageHeader.js @@ -1,4 +1,5 @@ import React, { Component, PropTypes } from 'react' +import { Link } from 'react-router' class PageHeader extends Component { static propTypes = { @@ -9,11 +10,11 @@ class PageHeader extends Component { render() { return (
- +
‹ Home
-
+

{this.props.title}

diff --git a/app/js/pages/profiles/ProfilesApp.js b/app/js/pages/profiles/ProfilesApp.js index fd42fa38c..7f7254c4e 100644 --- a/app/js/pages/profiles/ProfilesApp.js +++ b/app/js/pages/profiles/ProfilesApp.js @@ -1,6 +1,7 @@ import React, { Component, PropTypes } from 'react' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' +import { Link } from 'react-router' import AddressBar from '../../components/AddressBar' @@ -29,14 +30,14 @@ class ProfilesApp extends Component {