<commit_before>import React, { useState } from 'react'

import Layout from '../components/layout'

const AboutPage = ({ location: { pathname } }) => {
  const [name, setName] = useState('')
  const [description, setDescription] = useState('')
  const [url, setUrl] = useState('')
  const handleSubmit = () => {
    let data = {}
    data.title = `Add ${name} to list`
    data.labels = ['submission']
    data.body = `Name: ${name}\nDescription: ${description}\nURL: ${url}`
    fetch('https://api.github.com/repos/itzsaga/slack-list/issues', {
      method: 'POST',
      headers: {
        Authorization: `token ${process.env.GITHUB_OAUTH_KEY}`,<commit_msg>fix: env variable not available in prod<commit_after>import React, { useState } from 'react'

import Layout from '../components/layout'

const AboutPage = ({ location: { pathname } }) => {
  const [name, setName] = useState('')
  const [description, setDescription] = useState('')
  const [url, setUrl] = useState('')
  const handleSubmit = () => {
    let data = {}
    data.title = `Add ${name} to list`
    data.labels = ['submission']
    data.body = `Name: ${name}\nDescription: ${description}\nURL: ${url}`
    fetch('https://api.github.com/repos/itzsaga/slack-list/issues', {
      method: 'POST',
      headers: {
        Authorization: `token ${process.env.GATSBY_GITHUB_OAUTH_KEY}`,
{'fraction_non_alphanumeric': 0.17690599555884529, 'fraction_numerical': 0.0, 'mean_word_length': 3.710801393728223, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '4249039', 'n_tokens_mistral': 427, 'n_tokens_neox': 433, 'n_words': 101}