Skip to content

Commit 39a759f

Browse files
committed
feat: REMOVEME logs
1 parent 870404b commit 39a759f

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/components/Widgets/variants/base/Widget.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { useWidgetConfig } from '../widgetConfig/useWidgetConfig';
55
import { ClientOnly } from '@/components/ClientOnly';
66

77
export const Widget: FC<WidgetProps> = ({ ctx, type, formRef }) => {
8+
console.log('jumper w1');
89
const { config, isReady } = useWidgetConfig(type, ctx);
910

1011
return (

src/components/Widgets/variants/base/ZapWidget/ZapDepositBackendWidget.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ export const ZapDepositBackendWidget: FC<ZapDepositBackendWidgetProps> = ({
152152
};
153153
}, [widgetEvents, refetchDepositToken, setSupportModalState]);
154154

155+
console.log('jumper w2');
155156
const { config: widgetConfig, isReady } = useWidgetConfig('zap', enhancedCtx);
156157

157158
return isZapDataSuccess && toChainId && toTokenAddress && isReady ? (

src/components/Widgets/variants/base/ZapWidget/ZapWithdrawWidget.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ import {
1010
} from '@lifi/widget';
1111
import type { FC } from 'react';
1212
import { useEffect, useMemo, useRef } from 'react';
13-
1413
import envConfig from '@/config/env-config';
1514
import { useMenuStore } from '@/stores/menu';
1615
import { TaskType } from '@/types/strapi';
1716
import type { ZapDataResponse } from '@/types/zaps';
18-
1917
import type { ZapWidgetContext } from '../../widgetConfig/types';
2018
import { useWidgetConfig } from '../../widgetConfig/useWidgetConfig';
2119
import type { WidgetProps } from '../Widget.types';
@@ -116,6 +114,7 @@ export const ZapWithdrawWidget: FC<ZapWithdrawWidgetProps> = ({
116114
};
117115
}, [widgetEvents, refetchWithdrawToken, setSupportModalState]);
118116

117+
console.log('jumper w3');
119118
const { config: widgetConfig, isReady } = useWidgetConfig('zap', enhancedCtx);
120119

121120
return fromChain && fromToken && isReady ? (

src/utils/instrumentation/JumperSolanaProvider.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ async function jumperGetBalance(
2525
tokens: tokens.map((t) => t.address),
2626
});
2727

28+
console.log('jumper GetBalance responseTokens', responseTokens);
29+
2830
return responseTokens.map(
2931
({ amount, ...token }): TokenAmount => ({
3032
...token,

0 commit comments

Comments
 (0)