fix lodash imports

This commit is contained in:
tjs 2022-12-05 21:53:51 -05:00
parent 59de695d06
commit 9a18380c74
2 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,7 @@ import {
import { bs58 } from '@project-serum/anchor/dist/cjs/utils/bytes'
import { useWallet } from '@solana/wallet-adapter-react'
import mangoStore from '@store/mangoStore'
import { startCase } from 'lodash'
import startCase from 'lodash/startCase'
import { useTranslation } from 'next-i18next'
import { ChangeEvent, useState } from 'react'
import { notify } from 'utils/notifications'

View File

@ -1,7 +1,7 @@
import useInterval from '@components/shared/useInterval'
import mangoStore from '@store/mangoStore'
import { useEffect, useMemo, useRef } from 'react'
// import isEqual from 'lodash/isEqual'
import isEqual from 'lodash/isEqual'
import { floorToDecimal, getDecimalCount } from 'utils/numbers'
import Decimal from 'decimal.js'
import { ChartTradeType } from 'types'
@ -14,7 +14,6 @@ import { SOUND_SETTINGS_KEY } from 'utils/constants'
import { SpeakerWaveIcon, SpeakerXMarkIcon } from '@heroicons/react/20/solid'
import Tooltip from '@components/shared/Tooltip'
import { INITIAL_SOUND_SETTINGS } from '@components/settings/SoundSettings'
import { isEqual } from 'lodash'
const RecentTrades = () => {
// const [trades, setTrades] = useState<any[]>([])