<commit_before>import React from 'react';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import FlatButton from 'material-ui/FlatButton';
import TextField from './presentational/ClientCreationInput';

const css = require("./CreateClient.scss");

const labelStyles = {
    headerButton: {
        color: 'white'
    }
};

const styles = {
    regularbutton: {
        //float: 'left',
        width: "160px",
        display:'inline-block',
        boarderRadius:'0px',
        margin: "10px",
    },
    widebutton: {
        width: "390px",
        
    },
    underlineStyle: {
        borderColor: '#00CC33',
    },
    floatingLabelFocusStyle:{
        color: 'black',
    },
};

const SwitchPersonType = (props) => {
    let onSwitch = (type)=>{
        if(props.activeTab !== type){
            props.switchType(type)
        }
    };
    return(
        <div style={{display: 'block', width: '100%'}}>
        <div className="Small__button">
            <FlatButton
                label='<NAME>'
                backgroundColor={props.activeTab=='juridicalPerson'?"#00CC33":"#868686"}
                hoverColor="#00CC33"
                labelStyle={labelStyles.headerButton}
                style={styles.regularbutton}
                onTouchTap={()=>onSwitch('juridicalPerson')}
            />
            <FlatButton
                label='Eraisik'
                backgroundColor={props.activeTab=='privatePerson'?"#00CC33":"#868686"}
                hoverColor="#00CC33"
                labelStyle={labelStyles.headerButton}
                style={styles.regularbutton}
                onTouchTap={()=>onSwitch('privatePerson')}
            />
            </div>
        </div><commit_msg>removed extra div<commit_after>import React from 'react';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import FlatButton from 'material-ui/FlatButton';
import TextField from './presentational/ClientCreationInput';

const css = require("./CreateClient.scss");

const labelStyles = {
    headerButton: {
        color: 'white'
    }
};

const styles = {
    regularbutton: {
        //float: 'left',
        width: "160px",
        display:'inline-block',
        boarderRadius:'0px',
        margin: "10px",
    },
    widebutton: {
        width: "390px",
        
    },
    underlineStyle: {
        borderColor: '#00CC33',
    },
    floatingLabelFocusStyle:{
        color: 'black',
    },
};

const SwitchPersonType = (props) => {
    let onSwitch = (type)=>{
        if(props.activeTab !== type){
            props.switchType(type)
        }
    };
    return(
        <div style={{display: 'block', width: '100%'}}>
            <FlatButton
                label='<NAME>'
                backgroundColor={props.activeTab=='juridicalPerson'?"#00CC33":"#868686"}
                hoverColor="#00CC33"
                labelStyle={labelStyles.headerButton}
                style={styles.regularbutton}
                onTouchTap={()=>onSwitch('juridicalPerson')}
            />
            <FlatButton
                label='Eraisik'
                backgroundColor={props.activeTab=='privatePerson'?"#00CC33":"#868686"}
                hoverColor="#00CC33"
                labelStyle={labelStyles.headerButton}
                style={styles.regularbutton}
                onTouchTap={()=>onSwitch('privatePerson')}
            />
            </div>
{'fraction_non_alphanumeric': 0.14012363850456286, 'fraction_numerical': 0.02590521047983515, 'mean_word_length': 2.0366398570151922, 'pattern_counts': {'":': 4, '<': 15, '<?xml version=': 0, '>': 23, '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': '6250474', 'n_tokens_mistral': 1023, 'n_tokens_neox': 949, 'n_words': 152}