From f07a022d63d76de38da4736e01da2bc0503bbba0 Mon Sep 17 00:00:00 2001 From: akrolsmir Date: Wed, 5 Oct 2022 13:58:54 +0000 Subject: [PATCH] Auto-remove unused imports --- web/components/contract/share-modal.tsx | 5 +---- web/components/share-post-modal.tsx | 5 ----- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/web/components/contract/share-modal.tsx b/web/components/contract/share-modal.tsx index 8f3def1a..df19b955 100644 --- a/web/components/contract/share-modal.tsx +++ b/web/components/contract/share-modal.tsx @@ -1,5 +1,4 @@ import { LinkIcon } from '@heroicons/react/outline' -import toast from 'react-hot-toast' import { Contract } from 'common/contract' import { contractPath } from 'web/lib/firebase/contracts' @@ -9,9 +8,7 @@ import { Row } from '../layout/row' import { ShareEmbedButton } from '../share-embed-button' import { Title } from '../title' import { TweetButton } from '../tweet-button' -import { Button } from '../button' -import { copyToClipboard } from 'web/lib/util/copy' -import { track, withTracking } from 'web/lib/service/analytics' +import { withTracking } from 'web/lib/service/analytics' import { ENV_CONFIG } from 'common/envs/constants' import { User } from 'common/user' import { SiteLink } from '../site-link' diff --git a/web/components/share-post-modal.tsx b/web/components/share-post-modal.tsx index 51ccd6fe..28488bb8 100644 --- a/web/components/share-post-modal.tsx +++ b/web/components/share-post-modal.tsx @@ -1,11 +1,6 @@ -import { LinkIcon } from '@heroicons/react/outline' -import toast from 'react-hot-toast' -import { copyToClipboard } from 'web/lib/util/copy' -import { track } from 'web/lib/service/analytics' import { Modal } from './layout/modal' import { Col } from './layout/col' import { Title } from './title' -import { Button } from './button' import { TweetButton } from './tweet-button' import { Row } from './layout/row' import { CopyLinkButton } from './copy-link-button'