uniswap-interface-uncensored/src/hooks
Moody Salem a7a1607faa
fix: add a link to switch the locale conditionally (#1776)
* add a link to switch the locale conditionally

* make it smaller

* add the locale labels

* language labels from the internet

* fix the heart in the claim popup

* undo the conditional change

* remove todo

* updated Chinese locale name to office-365 language ids

* added missing <Trans>

Co-authored-by: Justin Domingue <judo@uniswap.org>
2021-06-01 09:54:43 -05:00
..
Tokens.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
useActiveLocale.ts fix: add a link to switch the locale conditionally (#1776) 2021-06-01 09:54:43 -05:00
useAddTokenToMetamask.ts chore: run eslint 2021-05-20 20:14:55 -05:00
useAllCurrencyCombinations.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
useAllV3Routes.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
useApeModeQueryParamReader.ts handle ape= query parameter (#1555) 2021-05-13 12:01:58 -04:00
useApproveCallback.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
useArgentWalletContract.ts feat: use multicall for argent wallets in swap and v3 add liquidity (#1387) 2021-05-21 09:30:07 -05:00
useBestV3Trade.ts remove a few unused isToken calls 2021-05-12 11:43:30 -05:00
useColor.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
useContract.ts feat: use multicall for argent wallets in swap and v3 add liquidity (#1387) 2021-05-21 09:30:07 -05:00
useCopyClipboard.ts Fix code style issues with ESLint 2021-02-16 08:46:17 +00:00
useCurrentBlockTimestamp.ts use multicall2 2021-04-23 18:26:24 -05:00
useDebounce.ts perf(ethereum): reduce number of calls by batching all polling node calls (#840) 2020-05-28 21:17:45 -04:00
useDebouncedChangeHandler.tsx Add page MVP UI + v3 pool hooks and state (#35) 2021-04-14 10:12:35 -04:00
useDerivedPositionInfo.ts chore: run eslint 2021-05-20 20:14:55 -05:00
useENS.ts chore: run eslint 2021-05-20 20:14:55 -05:00
useENSAddress.ts Fix code style issues with ESLint 2021-02-16 08:46:17 +00:00
useENSContentHash.ts Fix code style issues with ESLint 2021-02-16 08:46:17 +00:00
useENSName.ts Fix code style issues with ESLint 2021-02-16 08:46:17 +00:00
useERC20Permit.ts chore: run eslint 2021-05-20 20:14:55 -05:00
useFetchListCallback.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
useHttpLocations.ts feat(lists): allow selecting and adding token lists (#1023) 2020-08-26 08:46:21 -05:00
useInterval.ts more strictness everywhere, fix a pair pricing issue in mint/hooks.ts 2020-08-27 12:05:09 -05:00
useIsArgentWallet.ts feat: use multicall for argent wallets in swap and v3 add liquidity (#1387) 2021-05-21 09:30:07 -05:00
useIsSwapUnsupported.ts remove a few unused isToken calls 2021-05-12 11:43:30 -05:00
useIsWindowVisible.ts more strictness everywhere, fix a pair pricing issue in mint/hooks.ts 2020-08-27 12:05:09 -05:00
useLast.ts Fix code style issues with ESLint 2021-02-16 08:46:17 +00:00
useOnClickOutside.tsx feat(lists): allow selecting and adding token lists (#1023) 2020-08-26 08:46:21 -05:00
useParsedQueryString.ts feat(v1-support): Enable executing swaps on v1 or v2 (#883) 2020-06-11 15:56:28 -04:00
usePools.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
usePositionTokenURI.ts chore: run eslint 2021-05-20 20:14:55 -05:00
usePrevious.ts perf(ethereum): reduce number of calls by batching all polling node calls (#840) 2020-05-28 21:17:45 -04:00
useSocksBalance.ts feat: use multicall for argent wallets in swap and v3 add liquidity (#1387) 2021-05-21 09:30:07 -05:00
useSwapCallback.ts chore: add a bunch of missing translation keys 2021-05-29 16:02:43 -05:00
useSwapSlippageTolerance.ts refactor: use new sdk version (#1472) 2021-05-12 08:52:17 -05:00
useTheme.ts Improvement(lists): Switch to multiple active lists (#1237) 2021-01-14 11:20:50 -05:00
useTickToPrice.ts refactor: use new sdk version (#1472) 2021-05-12 08:52:17 -05:00
useToggle.ts Fix code style issues with ESLint 2021-02-16 08:46:17 +00:00
useToggledVersion.ts show the better trade link for v2/v3 2021-04-28 13:27:14 -05:00
useTokenAllowance.ts chore: run eslint 2021-05-20 20:14:55 -05:00
useTotalSupply.ts refactor: use new sdk version (#1472) 2021-05-12 08:52:17 -05:00
useTransactionDeadline.ts Fix code style issues with ESLint 2021-02-16 08:46:17 +00:00
useUSDCPrice.ts fix: usdc prices shouldn't reload when v3 prices reload 2021-05-27 15:28:45 -05:00
useV2Pairs.ts chore: run eslint 2021-05-20 20:14:55 -05:00
useV2Trade.ts chore: remove all tick lens stuff that is not used 2021-05-19 17:35:59 -05:00
useV3PositionFees.ts bump sdk-core 2021-05-21 09:34:46 -05:00
useV3Positions.ts fix loading state flashing in pool page 2021-04-23 21:12:34 -05:00
useV3SwapPools.ts create some hooks for using in v3 swap routing 2021-04-23 21:32:31 -05:00
useWindowSize.ts Fix code style issues with ESLint 2021-02-16 08:46:17 +00:00
useWrapCallback.ts fix: wrap/unwrap should not show computed trade details 2021-05-21 10:09:11 -05:00
web3.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00