<commit_before>import React, {Component} from 'react';
import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton';
import RaisedButton from 'material-ui/RaisedButton';

class SetNotif extends Component {
  state = {

    type: 'time',
    value: '',
    coin: 'BTC',
    interval: '',
    open: false,
    placeHolder: 'text',
    direction: 'Up',
    useremail: this.props.userEmail

  };

  handleOpen = () => {
    this.setState({open: true});
  };

  handleClose = () => {
    this.setState({open: false});
  };

  handleCoinChange = (e) => {
    this.setState({ coin: e.target.value })
  }

  handleTypeChange = (e) => {
    this.setState({ type: e.target.value })<commit_msg>cleaned up form<commit_after>import React, {Component} from 'react';
import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton';
import RaisedButton from 'material-ui/RaisedButton';

class SetNotif extends Component {
  state = {

    type: 'time',
    value: '',
    coin: 'BTC',
    interval: '',
    open: false,
    placeHolder: '',
    direction: '',
    useremail: this.props.userEmail

  };

  handleOpen = () => {
    this.setState({open: true});
  };

  handleClose = () => {
    this.setState({open: false});
  };

  handleCoinChange = (e) => {
    this.setState({ coin: e.target.value })
  }

  handleTypeChange = (e) => {
    this.setState({ type: e.target.value })
{'fraction_non_alphanumeric': 0.16502115655853314, 'fraction_numerical': 0.0, 'mean_word_length': 3.2612612612612613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5271800', 'n_tokens_mistral': 474, 'n_tokens_neox': 465, 'n_words': 104}