<commit_before>[error] Invalid configuration file: JSON Error in /Users/lachlanjc/src/hackclub/package.json:
[error] Unexpected token '<' at 46:1
[error] <<<<<<< HEAD
[error] ^
<commit_msg>Fix Form<commit_after>import React, { Component, Fragment } from 'react'
import { Heading } from '@hackclub/design-system'
import LoginForm from 'components/apply/LoginForm'
import PostForm from 'components/challenge/PostForm'
import LoadingAnimation from 'components/LoadingAnimation'
import ErrorMessage from 'components/admin/ErrorPage'

export default ({ status, challengeId }) => {
  switch (status) {
    case 'loading':
      return <LoadingAnimation />
    case 'success':
      return (
        <Fragment>
          <Heading.h2 mt={0} mb={3} f={[3, 4]}>
            Post your project
          </Heading.h2>
          <PostForm challengeId={challengeId} />
        </Fragment>
      )
    case 'needsToAuth':
      return (
        <Fragment>
          <Heading.h2 mt={0} mb={3} f={[3, 4]}>
            Sign in to post + upvote
          </Heading.h2>
          <LoginForm
            bg="black"
            color="white"
            inputProps={{ w: 18 * 16 }}
            textProps={{ color: 'black', align: 'left' }}
          />
        </Fragment>
      )
    default:
      return <ErrorMessage />
  }
}

{'fraction_non_alphanumeric': 0.13608562691131498, 'fraction_numerical': 0.01452599388379205, 'mean_word_length': 2.4, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 16, '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': '342522', 'n_tokens_mistral': 404, 'n_tokens_neox': 388, 'n_words': 100}