Skip to content

Commit

Permalink
deleted console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
chopan123 committed Nov 17, 2024
1 parent 426b55f commit 6ad2831
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/functions/generateRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export const useRouterSDK = () => {
tradeType,
currentProtocolsStatus,
}: GenerateRouteProps) => {
console.log('generateRoute:', amountAsset, quoteAsset, amount, tradeType, currentProtocolsStatus);
if (!factory) throw new Error('Factory address not found');
const currencyAmount = fromAddressAndAmountToCurrencyAmount(
amountAsset.currency.contract,
Expand All @@ -141,7 +140,6 @@ export const useRouterSDK = () => {
if (isHorizonEnabled) {
horizonPath = (await getHorizonBestPath(horizonProps, sorobanContext)) as BuildTradeRoute;
}
console.log('horizonPath:', horizonPath);

let sorobanPath: BuildTradeRoute | undefined;
if (isAggregator) {
Expand Down Expand Up @@ -171,9 +169,7 @@ export const useRouterSDK = () => {
return result;
})) as BuildTradeRoute;
}
console.log('sorobanPath:', sorobanPath);
const bestPath = getBestPath(horizonPath, sorobanPath, tradeType);
console.log('bestPath:', bestPath);
return bestPath;
};

Expand Down
1 change: 0 additions & 1 deletion src/state/swap/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ export function useDerivedSwapInfo(state: SwapState) {
(isExactIn ? outputCurrency : inputCurrency) ?? undefined,
account,
);
console.log('trade:', trade);

const currencyBalances = useMemo(
() => ({
Expand Down

0 comments on commit 6ad2831

Please sign in to comment.