Skip to content

Commit

Permalink
convert a tags to Link tags in wallet and profile apps
Browse files Browse the repository at this point in the history
  • Loading branch information
shea256 committed Mar 6, 2017
1 parent 8c2138d commit 159d432
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions app/js/components/PageHeader.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes } from 'react'
import { Link } from 'react-router'

class PageHeader extends Component {
static propTypes = {
Expand All @@ -9,11 +10,11 @@ class PageHeader extends Component {
render() {
return (
<div className="page-header">
<a className="navbar-brand" href="/">
<Link to="/" className="navbar-brand">
<div className="btn-home-pageheader">
‹ Home
</div>
</a>
</Link>
<h1 className="type-inverse h1-modern">
{this.props.title}
</h1>
Expand Down
9 changes: 5 additions & 4 deletions app/js/pages/profiles/ProfilesApp.js
Original file line number Diff line number Diff line change
@@ -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'

Expand Down Expand Up @@ -29,14 +30,14 @@ class ProfilesApp extends Component {
<div className="app-wrap-profiles">
<div className="container-fluid site-wrapper">
<nav className="navbar navbar-toggleable-md navbar-light">
<a className="navbar-brand" href="/">
<Link to="/" className="navbar-brand">
<div className="btn-home-profiles">
‹ Home
</div>
</a>
<a className="navbar-brand" href="/profiles">
</Link>
<Link to="/profiles" className="navbar-brand">
<img src="/images/app-icon-profiles.png" />
</a>
</Link>
<div className="navbar-collapse" id="navbarSupportedContent">
<ul className="nav navbar-nav m-b-20">
<li className="navbar-text">
Expand Down

0 comments on commit 159d432

Please sign in to comment.