Skip to content

Commit

Permalink
removed console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
chopan123 committed Sep 4, 2024
1 parent 95097b9 commit 51bc2e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/helpers/horizon/getHorizonPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ export function getHorizonBestPath(
const send = serverHorizon.strictSendPaths(args.assetFrom, args.amount, [args.assetTo])
.call().then((res) => res.records);
return send?.then((res) => {
console.log('🚀 ~ returnsend?.then ~ res:', res);
const maxObj = res.reduce((maxObj, obj) => {
if (maxObj.path.length <= 1) {

Expand Down
1 change: 0 additions & 1 deletion src/state/user/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,5 @@ export function useUserSlippageTolerance(): [
*/
export function useUserSlippageToleranceWithDefault(defaultSlippageTolerance: number): number {
const [allowedSlippage] = useUserSlippageTolerance()
console.log('🚀 ~ useUserSlippageToleranceWithDefault ~ allowedSlippage:', allowedSlippage);
return allowedSlippage === SlippageTolerance.Auto ? defaultSlippageTolerance : allowedSlippage
}

0 comments on commit 51bc2e5

Please sign in to comment.