Remove unused imports from random files (#224)

This commit is contained in:
Marshall Polaris 2022-05-13 18:30:52 -07:00 committed by GitHub
parent bc5cd5be45
commit 07ded756d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 0 additions and 22 deletions

View File

@ -1,5 +1,4 @@
import clsx from 'clsx'
import _ from 'lodash'
import { useEffect, useRef, useState } from 'react'
import { XIcon } from '@heroicons/react/solid'

View File

@ -1,5 +1,4 @@
import clsx from 'clsx'
import _ from 'lodash'
import { Answer } from 'common/answer'
import { DPM, FreeResponse, FullContract } from 'common/contract'

View File

@ -1,5 +1,4 @@
import clsx from 'clsx'
import _ from 'lodash'
import { useState } from 'react'
import Textarea from 'react-expanding-textarea'

View File

@ -2,7 +2,6 @@ import { useState } from 'react'
import clsx from 'clsx'
import { BetPanelSwitcher } from './bet-panel'
import { Row } from './layout/row'
import { YesNoSelector } from './yes-no-selector'
import { Binary, CPMM, DPM, FullContract } from 'common/contract'
import { Modal } from './layout/modal'

View File

@ -1,6 +1,5 @@
import clsx from 'clsx'
import Link from 'next/link'
import _ from 'lodash'
import { Row } from '../layout/row'
import { formatPercent } from 'common/util/format'
import {

View File

@ -1,5 +1,4 @@
import clsx from 'clsx'
import _ from 'lodash'
import { ClockIcon, DatabaseIcon, PencilIcon } from '@heroicons/react/outline'
import { TrendingUpIcon } from '@heroicons/react/solid'
import { Row } from '../layout/row'

View File

@ -1,5 +1,3 @@
import _ from 'lodash'
import { Contract } from '../../lib/firebase/contracts'
import { User } from '../../lib/firebase/users'
import { Col } from '../layout/col'

View File

@ -1,5 +1,3 @@
import _ from 'lodash'
import { Contract } from 'web/lib/firebase/contracts'
import { Comment } from 'web/lib/firebase/comments'
import { Col } from '../layout/col'

View File

@ -1,5 +1,4 @@
import clsx from 'clsx'
import _ from 'lodash'
import { User } from '../../../common/user'
import { Row } from '../layout/row'

View File

@ -2,7 +2,6 @@ import clsx from 'clsx'
import React, { useEffect, useState } from 'react'
import { Col } from './layout/col'
import { Title } from './title'
import { User } from 'web/lib/firebase/users'
import { YesNoCancelSelector } from './yes-no-selector'
import { Spacer } from './layout/spacer'

View File

@ -1,5 +1,4 @@
import { doc, collection, setDoc } from 'firebase/firestore'
import _ from 'lodash'
import { db } from './init'
import { ClickEvent, LatencyEvent, View } from 'common/tracking'

View File

@ -1,5 +1,4 @@
import { collection, query, where, orderBy } from 'firebase/firestore'
import _ from 'lodash'
import { Txn } from 'common/txn'
import { db } from './init'

View File

@ -1,4 +1,3 @@
import { db } from './init'
import {
getDoc,
getDocs,

View File

@ -13,8 +13,6 @@ import { InfoTooltip } from 'web/components/info-tooltip'
import { Page } from 'web/components/page'
import { Title } from 'web/components/title'
import { ProbabilitySelector } from 'web/components/probability-selector'
import { parseWordsAsTags } from 'common/util/parse'
import { TagsList } from 'web/components/tags-list'
import { Row } from 'web/components/layout/row'
import { MAX_DESCRIPTION_LENGTH, outcomeType } from 'common/contract'
import { formatMoney } from 'common/util/format'

View File

@ -1,7 +1,5 @@
import React, { useEffect } from 'react'
import Router, { useRouter } from 'next/router'
import _ from 'lodash'
import { Page } from 'web/components/page'
import { ActivityFeed } from 'web/components/feed/activity-feed'
import FeedCreate from 'web/components/feed-create'

View File

@ -1,5 +1,3 @@
import _ from 'lodash'
import { Col } from 'web/components/layout/col'
import { Leaderboard } from 'web/components/leaderboard'
import { Page } from 'web/components/page'

View File

@ -1,5 +1,4 @@
import { useEffect, useState } from 'react'
import { PencilIcon } from '@heroicons/react/outline'
import Router from 'next/router'
import { AddFundsButton } from 'web/components/add-funds-button'