<commit_before>/**
 * Poster v0.1.0
 * A React webapp to list upcoming movies and maintain a watchlist, powered by TMDb
 *
 * Author: <NAME> <<EMAIL>> (https://doublslash.com)
 * Date: 02 June, 2016
 * License: MIT
 *
 * Navbar Link Item Component
 */

import React from "react";

export default
class NavbarLinkItem extends React.Component {
    constructor() {
        super();
    }

    render() {
        return (
            <li>
                <a href="#">{this.props.linkTitle}</a>
            </li>
        );
    }
}<commit_msg>Use Link component instead of anchors to play nice with routes.<commit_after>/**
 * Poster v0.1.0
 * A React webapp to list upcoming movies and maintain a watchlist, powered by TMDb
 *
 * Author: <NAME> <<EMAIL>> (https://doublslash.com)
 * Date: 02 June, 2016
 * License: MIT
 *
 * Navbar Link Item Component
 */

import React from "react";
import { Link } from "react-router";

export default
class NavbarLinkItem extends React.Component {
    constructor() {
        super();
    }

    render() {
        return (
            <li>
                <Link to={this.props.linkPath} activeClassName="active">{this.props.linkTitle}</Link>
            </li>
        );
    }
}
{'fraction_non_alphanumeric': 0.12953795379537955, 'fraction_numerical': 0.01485148514851485, 'mean_word_length': 2.3694444444444445, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6265295', 'n_tokens_mistral': 382, 'n_tokens_neox': 360, 'n_words': 113}