pancake-frontend
pancake-frontend copied to clipboard
:pancakes: Pancake main features (farms, pools, IFO, lottery, profiles)
- Update LP APRs for Farms Auto-generated by [create-pull-request][1] [1]: https://github.com/peter-evans/create-pull-request
perf: (currency-search): Don't convert all tokens in lists to token instance when in currency search
It improves performance significantly when searching tokens in low-end mobile devices
When there is a new pool in the pools list, it appears and disappears in the pools page when page is loading before it starts
User stakes data needed to show dot on finished tab button to indicate there are stakes in finished pools It also reduces calls when user harvest or stake on one...
fix: (swap): Slippage error in confirm modal doesn't have settings and docs link in other languages
This pr separates useSwapCallback from translation function Issue:
According to the tokenPrice value of the pair record, last pair of pair list with same id has the correct value so it is better to use this for now
It also reduces calls when first access. (currently when page is accessed it does initializepredictions then swr interval fetch prediction call). It is now refactored to use only interval fetch...
To reproduce: 1. Go to prediction 2. Click collect winnings 3. After the collection collect winnings appears again until the next fetch