<commit_before>import React from 'react';
import {Link} from 'react-router';
import Page from '../components/Page';
import Calendar from '../components/Calendar';
import PostList from '../components/PostList';
import Button from '../components/Button';

class SubscribeUnsubscribeButton extends React.Component {
    render () {
        if (this.props.subscribed) {
            return <Button onClick={this.props.unsubscribe}>{"Me désinscrire de ce comité"}</Button>
        } else {
            return <Button onClick={this.props.subscribe}>{"M'inscrire à ce comité"}</Button>;
        }
    }
}

export default class ComityPage extends Page {
    constructor (props) {
        super(props);
        this.state = {
            comity: {
                members: []
            },
            events: [],
            posts: []
        };

        this.subscribe = this.subscribe.bind(this);
        this.unsubscribe = this.unsubscribe.bind(this);<commit_msg>remove unused component<commit_after>import React from 'react';
import {Link} from 'react-router';
import Page from '../components/Page';
import Calendar from '../components/Calendar';
import PostList from '../components/PostList';
import Button from '../components/Button';

export default class ComityPage extends Page {
    constructor (props) {
        super(props);
        this.state = {
            comity: {
                members: []
            },
            events: [],
            posts: []
        };

        this.subscribe = this.subscribe.bind(this);
        this.unsubscribe = this.unsubscribe.bind(this);
{'fraction_non_alphanumeric': 0.12958280657395702, 'fraction_numerical': 0.0, 'mean_word_length': 2.346723044397463, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '89510', 'n_tokens_mistral': 409, 'n_tokens_neox': 405, 'n_words': 106}