<commit_before>import React from 'react';
import { browserHistory } from 'react-router';
import { Link } from 'react-router-dom';
import {
  Segment,
  Header,
  Button,
} from 'semantic-ui-react';


const DevSwitch = function ({ setDev, devMode, history }) {

  var turnOn = function () {
    setDev(`on`);
    history.goBack();
  };
<commit_msg>Lints and removes unused vars<commit_after>import React from 'react';
import {
  Segment,
  Header,
  Button,
} from 'semantic-ui-react';


const DevSwitch = function ({ setDev, devMode, history }) {

  var turnOn = function () {
    setDev(`on`);
    history.goBack();
  };

{'fraction_non_alphanumeric': 0.14630225080385853, 'fraction_numerical': 0.0, 'mean_word_length': 3.792307692307692, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4010711', 'n_tokens_mistral': 207, 'n_tokens_neox': 200, 'n_words': 54}