From 9757ed1d8bf7da1ad0edac34d940815a3e20a5ef Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Thu, 23 Jun 2022 13:02:52 -0500 Subject: [PATCH] lint --- web/components/nav/sidebar.tsx | 8 +------- web/pages/create.tsx | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 0f8d59eb..48cdd0ca 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -6,7 +6,6 @@ import { CashIcon, HeartIcon, PresentationChartLineIcon, - SparklesIcon, UserGroupIcon, ChevronDownIcon, TrendingUpIcon, @@ -19,13 +18,8 @@ import { firebaseLogout, User } from 'web/lib/firebase/users' import { ManifoldLogo } from './manifold-logo' import { MenuButton } from './menu' import { ProfileSummary } from './profile-menu' -import { - getUtcFreeMarketResetTime, - useHasCreatedContractToday, -} from 'web/hooks/use-has-created-contract-today' -import { Row } from '../layout/row' import NotificationsIcon from 'web/components/notifications-icon' -import React, { useEffect, useState } from 'react' +import React from 'react' import { IS_PRIVATE_MANIFOLD } from 'common/envs/constants' import { CreateQuestionButton } from 'web/components/create-question-button' import { useMemberGroups } from 'web/hooks/use-group' diff --git a/web/pages/create.tsx b/web/pages/create.tsx index 53b73c7e..bfca6f5f 100644 --- a/web/pages/create.tsx +++ b/web/pages/create.tsx @@ -17,7 +17,6 @@ import { outcomeType, } from 'common/contract' import { formatMoney } from 'common/util/format' -import { useHasCreatedContractToday } from 'web/hooks/use-has-created-contract-today' import { removeUndefinedProps } from 'common/util/object' import { ChoicesToggleGroup } from 'web/components/choices-toggle-group' import { getGroup, updateGroup } from 'web/lib/firebase/groups'