<commit_before>import { Box, color, Flex, Sans, Separator, Serif, space } from "@artsy/palette"
import { CircleWhiteCheckIcon } from "lib/Icons/CircleWhiteCheckIcon"
import React, { Component } from "react"
import { Modal, ScrollView, TouchableOpacity } from "react-native"
import styled from "styled-components/native"

interface State {
  overlayVisible: boolean
  selectedCity: string
}

interface Props {
  overlayVisible: boolean
  _mounted: boolean
}

const cityList = ["New York", "Los Angeles", "London", "Berlin", "Paris", "Hong Kong"]
export class CityPicker extends Component<Props, State> {
  state = {
    overlayVisible: null,
    selectedCity: null,
  }

  _mounted = null

  componentDidMount() {
    this._mounted = true
  }

  componentWillUnmount() {
    this._mounted = false
  }

  selectCity(city) {
    const isCityPickerMounted = this._mounted
<commit_msg>removes prop<commit_after>import { Box, color, Flex, Sans, Separator, Serif, space } from "@artsy/palette"
import { CircleWhiteCheckIcon } from "lib/Icons/CircleWhiteCheckIcon"
import React, { Component } from "react"
import { Modal, ScrollView, TouchableOpacity } from "react-native"
import styled from "styled-components/native"

interface State {
  overlayVisible: boolean
  selectedCity: string
}

interface Props {
  overlayVisible: boolean
}

const cityList = ["New York", "Los Angeles", "London", "Berlin", "Paris", "Hong Kong"]
export class CityPicker extends Component<Props, State> {
  state = {
    overlayVisible: null,
    selectedCity: null,
  }

  _mounted = null

  componentDidMount() {
    this._mounted = true
  }

  componentWillUnmount() {
    this._mounted = false
  }

  selectCity(city) {
    const isCityPickerMounted = this._mounted

{'fraction_non_alphanumeric': 0.10753306497987349, 'fraction_numerical': 0.0, 'mean_word_length': 4.4375, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5506547', 'n_tokens_mistral': 554, 'n_tokens_neox': 524, 'n_words': 149}