<commit_before>import React, { Component } from 'react';
import Input from '../components/Input'


export default class LoginForm extends Component {

    constructor(props) {
        super(props);

    }

    render() {
        const inputs = this.props.formData.inputs;

        return (
            <div className="grid grid--justify-center">
                <div className="grid__col-4">
                    <h1>Login</h1>

                    <form className="form" onSubmit={this.props.formData.onSubmit}>

                        {
                            inputs.map((input, index) => {
                                let error = this.props.formData.error.inputID === input.id ? this.props.formData.error.message : false;
                                return <Input key={index} {...input} error={error} />
                            })
                        }

                        <button type="submit" className="btn btn--primary margin-top--1">Log in</button>
                    </form>
                </div>
            </div>
        )
    }
}<commit_msg>Reduce width of login form<commit_after>import React, { Component } from 'react';
import Input from '../components/Input'


export default class LoginForm extends Component {

    constructor(props) {
        super(props);

    }

    render() {
        const inputs = this.props.formData.inputs;

        return (
            <div className="grid grid--justify-center">
                <div className="grid__col-3">
                    <h1>Login</h1>

                    <form className="form" onSubmit={this.props.formData.onSubmit}>

                        {
                            inputs.map((input, index) => {
                                let error = this.props.formData.error.inputID === input.id ? this.props.formData.error.message : false;
                                return <Input key={index} {...input} error={error} />
                            })
                        }

                        <button type="submit" className="btn btn--primary margin-top--1">Log in</button>
                    </form>
                </div>
            </div>
        )
    }
}
{'fraction_non_alphanumeric': 0.12126779972439136, 'fraction_numerical': 0.0036747818098300414, 'mean_word_length': 1.2758620689655173, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1179199', 'n_tokens_mistral': 560, 'n_tokens_neox': 522, 'n_words': 110}