<commit_before>import Typography from "@material-ui/core/Typography"
import Layout from "components/layout/Layout"
import { useRouter } from "next/router"
import ReactMarkDown from "react-markdown"
/**
 * Container component that issues a GraphQL query to get gene data for the
 * GO annotations page.
 */

interface WikiContainerProps {
  markdown?: string
}
const WikiContainer = ({ markdown }: WikiContainerProps) => {
  const { query } = useRouter()
  const geneId = query.gene as string

  return (
    <Layout
      gene={geneId}
      title={`Community Annotations for ${geneId}`}
      description={`Community Annotations for ${geneId}`}>
      <Typography component="div">
        {markdown ? (
          <ReactMarkDown>{markdown}</ReactMarkDown>
        ) : (
          `${geneId} doesn't have a community annotation. Be the first to contribute`
        )}
      </Typography>
    </Layout>
  )
}

export default WikiContainer
<commit_msg>feat: add Container to place markdown on<commit_after>import Layout from "components/layout/Layout"
import { useRouter } from "next/router"
import ReactMarkDown from "react-markdown"
import { Paper, Container, Typography } from "@material-ui/core"
import useStyles from "../../../styles/dataTableStyles"
/**
 * Container component that issues a GraphQL query to get gene data for the
 * GO annotations page.
 */

interface WikiContainerProps {
  markdown?: string
}
const WikiContainer = ({ markdown }: WikiContainerProps) => {
  const classes = useStyles()

  const { query } = useRouter()
  const geneId = query.gene as string

  return (
    <Layout
      gene={geneId}
      title={`Community Annotations for ${geneId}`}
      description={`Community Annotations for ${geneId}`}>
      <Typography component="div">
        {" "}
        <Container component={Paper} className={classes.root} maxWidth={false}>
          {markdown ? (
            <ReactMarkDown>{markdown}</ReactMarkDown>
          ) : (
            `${geneId} doesn't have a community annotation. Be the first to contribute`
          )}
        </Container>
      </Typography>
    </Layout>
  )
}

export default WikiContainer

{'fraction_non_alphanumeric': 0.11638733705772812, 'fraction_numerical': 0.0, 'mean_word_length': 3.2137254901960786, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, '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': '6741043', 'n_tokens_mistral': 612, 'n_tokens_neox': 583, 'n_words': 178}