<commit_before>import React from 'react';
import {connect} from 'react-redux';

class Approval extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            confirm_email: false
        }
    }

    componentWillMount() {
        if (this.props.location.query.confirm_email) {
            this.setState({confirm_email: true});
        }
    }

    render() {
        let body = '';
        if (this.state.confirm_email) {
            body = <div>
                <h4>Thanks for confirming your email!</h4>
                <p>After validating your sing up request with us we'll look it over for approval. As soon as your turn is up and you're approved, you'll be sent a link to finalize your account!</p>
                <p>You'll be among the earliest members of the Steemit community!</p>
            </div>
        } else {
            body = <div>
                <h4>Thanks for confirming your phone number!</h4>
                <p>You're a few steps away from getting to the top of the list. Check your email and click the email validation link.</p>
                <p>After validating your sing up request with us we'll look it over for approval. As soon as your turn is up and you're approved, you'll be sent a link to finalize your account!</p>
                <p>You'll be among the earliest members of the Steemit community!</p>
            </div>
        }
        return (
            <div className="row">
                <div className="column" style={{maxWidth: '36rem', margin: '0 auto'}}>
                    <div>
                        {body}
                    </div>
                </div>
            </div>
        );
    }
}

module.exports = {
    path: 'approval',
    component: connect(
        state => {
            return {

            }
        },
        dispatch => ({
        })
    )(Approval)
};
<commit_msg>sing -> sign (#1410)<commit_after>import React from 'react';
import {connect} from 'react-redux';

class Approval extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            confirm_email: false
        }
    }

    componentWillMount() {
        if (this.props.location.query.confirm_email) {
            this.setState({confirm_email: true});
        }
    }

    render() {
        let body = '';
        if (this.state.confirm_email) {
            body = <div>
                <h4>Thanks for confirming your email!</h4>
                <p>After validating your sign up request with us we'll look it over for approval. As soon as your turn is up and you're approved, you'll be sent a link to finalize your account!</p>
                <p>You'll be among the earliest members of the Steemit community!</p>
            </div>
        } else {
            body = <div>
                <h4>Thanks for confirming your phone number!</h4>
                <p>You're a few steps away from getting to the top of the list. Check your email and click the email validation link.</p>
                <p>After validating your sign up request with us we'll look it over for approval. As soon as your turn is up and you're approved, you'll be sent a link to finalize your account!</p>
                <p>You'll be among the earliest members of the Steemit community!</p>
            </div>
        }
        return (
            <div className="row">
                <div className="column" style={{maxWidth: '36rem', margin: '0 auto'}}>
                    <div>
                        {body}
                    </div>
                </div>
            </div>
        );
    }
}

module.exports = {
    path: 'approval',
    component: connect(
        state => {
            return {

            }
        },
        dispatch => ({
        })
    )(Approval)
};

{'fraction_non_alphanumeric': 0.10408432147562582, 'fraction_numerical': 0.0047430830039525695, 'mean_word_length': 1.6017820424948594, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 56, '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': '647931', 'n_tokens_mistral': 1056, 'n_tokens_neox': 999, 'n_words': 356}