Skip to content

Commit

Permalink
chore: Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
chefilip committed Sep 28, 2023
1 parent 6b683a3 commit 749730a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
12 changes: 1 addition & 11 deletions apps/web/src/views/FixedStaking/components/FixedStakingModal.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
import { useTranslation } from '@pancakeswap/localization'
import {
ModalV2,
useModalV2,
Flex,
Box,
PreTitle,
MessageText,
Message,
InfoFilledIcon,
Button,
} from '@pancakeswap/uikit'
import { ModalV2, useModalV2, Flex, Box, PreTitle, MessageText, Message, Button } from '@pancakeswap/uikit'
import { ReactNode, useMemo } from 'react'
import Divider from 'components/Divider'
import { Token } from '@pancakeswap/sdk'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ export function StakingModalTemplate({
boostDayPercent: selectedPool?.boostDayPercent,
})

console.log('isBoost:', isBoost)

const [percent, setPercent] = useState(0)
const { balance: stakingTokenBalance } = useTokenBalance(stakingToken?.address)
const { fetchWithCatchTxError, loading: pendingTx } = useCatchTxError()
Expand Down
10 changes: 7 additions & 3 deletions packages/localization/src/config/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
"Fixed Staking Ends On": "Fixed Staking Ends On",
"Confirm Claim & Restake": "Confirm Claim & Restake",
"Adding stake to the position will restart the lock and withdrawal period.": "Adding stake to the position will restart the lock and withdrawal period.",
"New Staked Amount": "New Staked Amount",
"Stake Period": "Stake Period",
"Reward": "Reward",
"Est. Reward": "Est. Reward",
Expand All @@ -107,8 +106,13 @@
"You will get": "You will get",
"Unstaked Amount": "Unstaked Amount",
"Reward Amount": "Reward Amount",
"%lockPeriod% days": "%lockPeriod% days",
"Stake & Earn": "Stake & Earn",
"Stake Periods": "Stake Periods",
"Staked Amount": "Staked Amount",
"Click here for more information": "Click here for more information",
"Funds will not be available for withdrawal for the first %days% days, and subsequently an early withdrawal fee will be applied if amount if unstaked before locked period is up. ": "Funds will not be available for withdrawal for the first %days% days, and subsequently an early withdrawal fee will be applied if amount if unstaked before locked period is up. ",
"Your funds have been restaked in the pool": "Your funds have been restaked in the pool",
"Funds will not be available for withdrawal for the first 10 days, and subsequently an early withdrawal fee will be applied if amount if unstaked before locked period is up. ": "Funds will not be available for withdrawal for the first 10 days, and subsequently an early withdrawal fee will be applied if amount if unstaked before locked period is up. ",
"This collection has been inactived for a while. Trade at your own risk.": "This collection has been inactived for a while. Trade at your own risk.",
"Info": "Info",
"IFO": "IFO",
Expand Down Expand Up @@ -2761,4 +2765,4 @@
"Jupiter Predictors": "Jupiter Predictors",
"Predict, Win, and Share $10,000 rewards!": "Predict, Win, and Share $10,000 rewards!",
"Saturn Syndicate": "Saturn Syndicate"
}
}

0 comments on commit 749730a

Please sign in to comment.