Unused vars

This commit is contained in:
Ian Philips 2022-07-07 07:05:12 -06:00
parent b8748fd49a
commit 7f8617832f
2 changed files with 2 additions and 5 deletions

View File

@ -2,8 +2,6 @@ import Link from 'next/link'
import clsx from 'clsx' import clsx from 'clsx'
import { firebaseLogin, User } from 'web/lib/firebase/users' import { firebaseLogin, User } from 'web/lib/firebase/users'
import React from 'react' import React from 'react'
import { PlusIcon } from '@heroicons/react/outline'
import { Row } from 'web/components/layout/row'
export const createButtonStyle = export const createButtonStyle =
'border-w-0 mx-auto mt-4 -ml-1 w-full rounded-md bg-gradient-to-r py-2.5 text-base font-semibold text-white shadow-sm lg:-ml-0 h-11' 'border-w-0 mx-auto mt-4 -ml-1 w-full rounded-md bg-gradient-to-r py-2.5 text-base font-semibold text-white shadow-sm lg:-ml-0 h-11'

View File

@ -2,7 +2,6 @@ import { take, sortBy, debounce } from 'lodash'
import { Group } from 'common/group' import { Group } from 'common/group'
import { Page } from 'web/components/page' import { Page } from 'web/components/page'
import { Title } from 'web/components/title'
import { listAllBets } from 'web/lib/firebase/bets' import { listAllBets } from 'web/lib/firebase/bets'
import { Contract } from 'web/lib/firebase/contracts' import { Contract } from 'web/lib/firebase/contracts'
import { import {
@ -53,7 +52,7 @@ import { SiteLink } from 'web/components/site-link'
import { ContractSearch } from 'web/components/contract-search' import { ContractSearch } from 'web/components/contract-search'
import clsx from 'clsx' import clsx from 'clsx'
import { FollowList } from 'web/components/follow-list' import { FollowList } from 'web/components/follow-list'
import { PlusIcon, SearchIcon } from '@heroicons/react/outline' import { SearchIcon } from '@heroicons/react/outline'
export const getStaticProps = fromPropz(getStaticPropz) export const getStaticProps = fromPropz(getStaticPropz)
export async function getStaticPropz(props: { params: { slugs: string[] } }) { export async function getStaticPropz(props: { params: { slugs: string[] } }) {
@ -410,7 +409,7 @@ function GroupOverview(props: {
</Row> </Row>
{anyoneCanJoin && user && ( {anyoneCanJoin && user && (
<Row className={'flex-wrap items-center gap-1'}> <Row className={'flex-wrap items-center gap-1'}>
<span className={'text-gray-500'}>Sharing</span> <span className={'text-gray-500'}>Share</span>
<ShareIconButton <ShareIconButton
group={group} group={group}
username={user.username} username={user.username}