调整ido

This commit is contained in:
myf 2022-05-24 16:34:54 +08:00
parent 34934d8ba5
commit 78377c2d98
2 changed files with 0 additions and 18 deletions

BIN
build.zip Normal file

Binary file not shown.

View File

@ -26,24 +26,6 @@ const FCard = styled.div`
const ExchangeCard: React.FC<GetCardProps> = ({ price = 0, time = 0 }) => { const ExchangeCard: React.FC<GetCardProps> = ({ price = 0, time = 0 }) => {
const { t } = useTranslation() const { t } = useTranslation()
// const account = useAccount()
// const lockTime = useLockTime()
// const [time, setTime] = useState(0)
// const userInfo = useUserInfo()
// const [price, setPrice] = useState(0)
// const init = async () => {
// const data = await lockTime()
// console.log(data)
// setTime(data)
// const info = await userInfo(account)
// console.log(info)
// setPrice(info)
// }
// useEffect(() => {
// if (account) {
// init()
// }
// }, [account])
const harvest = useHarvest() const harvest = useHarvest()
const getPrice = async () => { const getPrice = async () => {
const res = await harvest() const res = await harvest()