<commit_before>import { Sans } from "@artsy/palette"
import { Shows_show } from "__generated__/Shows_show.graphql"
import React from "react"
import { createFragmentContainer, graphql } from "react-relay"
import { ShowDetails } from "./Components/ShowDetails"

interface Props {
  show: Shows_show
}
export class Shows extends React.Component<Props> {
  render() {
    if (!this.props.show) {
      return null
    }
    const { city, nearbyShows } = this.props.show
    const nearbyShowsDetail = (nearbyShows.edges || []).filter(show => show.node)
    return (
      <>
        <Sans size="8">{"Current Shows In " + city}</Sans>
        <ShowDetails data={nearbyShowsDetail as any} />
      </>
    )
  }
}

export const LocationContainer = createFragmentContainer(
  Shows,
  graphql`
    fragment Shows_show on Show {
      city
      nearbyShows(first: 20) {
        edges {
          node {
            id
            name
            images {
              url
              aspect_ratio
            }
            partner {
              ... on ExternalPartner {
                name
              }
              ... on Partner {
                name
              }
            }
            location {
              address
              address_2
              state
              postal_code
            }
          }
        }
      }
    }
  `
)
<commit_msg>reducing Shows header font size<commit_after>import { Sans } from "@artsy/palette"
import { Shows_show } from "__generated__/Shows_show.graphql"
import React from "react"
import { createFragmentContainer, graphql } from "react-relay"
import { ShowDetails } from "./Components/ShowDetails"

interface Props {
  show: Shows_show
}
export class Shows extends React.Component<Props> {
  render() {
    if (!this.props.show) {
      return null
    }
    const { city, nearbyShows } = this.props.show
    const nearbyShowsDetail = (nearbyShows.edges || []).filter(show => show.node)
    return (
      <>
        <Sans size="6">{"Current Shows In " + city}</Sans>
        <ShowDetails data={nearbyShowsDetail as any} />
      </>
    )
  }
}

export const LocationContainer = createFragmentContainer(
  Shows,
  graphql`
    fragment Shows_show on Show {
      city
      nearbyShows(first: 20) {
        edges {
          node {
            id
            name
            images {
              url
              aspect_ratio
            }
            partner {
              ... on ExternalPartner {
                name
              }
              ... on Partner {
                name
              }
            }
            location {
              address
              address_2
              state
              postal_code
            }
          }
        }
      }
    }
  `
)

{'fraction_non_alphanumeric': 0.09282088469905729, 'fraction_numerical': 0.0029006526468455403, 'mean_word_length': 1.4351279788172993, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, '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': '2132380', 'n_tokens_mistral': 779, 'n_tokens_neox': 768, 'n_words': 176}