fix: remove Create a pool menu option (#6168)

This commit is contained in:
Vignesh Mohankumar 2023-03-16 18:01:54 -04:00 committed by GitHub
parent 8b743615d1
commit 3d0ca21036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@ import { SwitchLocaleLink } from 'components/SwitchLocaleLink'
import { isSupportedChain } from 'constants/chains'
import { useV3Positions } from 'hooks/useV3Positions'
import { useMemo } from 'react'
import { AlertTriangle, BookOpen, ChevronDown, ChevronsRight, Inbox, Layers, PlusCircle } from 'react-feather'
import { AlertTriangle, BookOpen, ChevronDown, ChevronsRight, Inbox, Layers } from 'react-feather'
import { Link } from 'react-router-dom'
import { useToggleWalletModal } from 'state/application/hooks'
import { useUserHideClosedPositions } from 'state/user/hooks'
@ -224,16 +224,6 @@ export default function Pool() {
const showV2Features = Boolean(V2_FACTORY_ADDRESSES[chainId])
const menuItems = [
{
content: (
<PoolMenuItem>
<Trans>Create a pool</Trans>
<PlusCircle size={16} />
</PoolMenuItem>
),
link: '/add/ETH',
external: false,
},
{
content: (
<PoolMenuItem>