Skip to content

Commit ec66ea6

Browse files
authored
fix(predict): stabilize Predict pay-with-any-token quote updates cp-7.77.0 (#30064)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until this PR meets the canonical Definition of Ready For Review in `docs/readme/ready-for-review.md`. In short: the template must be materially complete (not just section titles present), all status checks must be currently passing, and the only expected follow-up commits must be reviewer-driven. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> This fixes Predict pay-with-any-token quote and CTA timing issues that could appear when users changed payment tokens. The quote trigger previously deduped updates only by amount, so a new transaction or selected token using the same amount could skip `updatePendingAmount` / `updateTokenAmountCallback` and fail to start the quote request. This PR keys those emissions by transaction id, token address, and chain id so the same amount is still emitted when the active transaction or payment token changes. The Predict buy CTA could also remain enabled briefly while the payment selector was closing and before the new quote loading state appeared. This PR adds a Predict-only payment-selector navigation lock in `usePredictBuyConditions`, disables the buy CTA/pay row immediately when the selector opens, and releases the lock one second after the screen regains focus. It also waits for account tokens before defaulting back to Predict balance, avoiding an early fallback while token data is still empty. Finally, this keeps transaction-pay alert text visible in the Predict bottom-sheet flow, including while quote/pay-fee loading is in progress, and persists order-failed banners after the controller refreshes active order state, preventing alert/banner flicker. When a pay-totals alert is returned with fee data, the displayed Total now still includes the deposit fee so users can see the actual amount required by the selected payment token. ## **Changelog** <!-- If this PR is not End-User-Facing and should not show up in the CHANGELOG, you can choose to either: 1. Write `CHANGELOG entry: null` 2. Label with `no-changelog` If this PR is End-User-Facing, please write a short User-Facing description in the past tense like: `CHANGELOG entry: Added a new tab for users to see their NFTs` `CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker` (This helps the Release Engineer do their job more quickly and accurately) --> CHANGELOG entry: Fixed bugs that could prevent Predict pay-with-any-token quotes and alerts from refreshing correctly after changing payment tokens ## **Related issues** Fixes: [PRED-882](https://consensyssoftware.atlassian.net/browse/PRED-882?atlOrigin=eyJpIjoiNTlkZTZkMmI1MTJkNDEyZmE0ZTE5NjUxZmVhNDg1ZjQiLCJwIjoiaiJ9) ## **Manual testing steps** ```gherkin Feature: Predict pay with any token quote refresh Scenario: user changes the payment token before placing a bet Given the Predict pay-with-any-token feature is enabled And the user opens a Predict buy preview with a valid bet amount And an external payment token is selected When the user opens the payment token selector Then the buy CTA is disabled while the selector is open When the user selects a different supported payment token And the selector closes Then the buy CTA remains disabled while the quote refresh starts And the quote request is triggered for the selected token and current bet amount And the buy CTA only becomes enabled after the quote state has settled Scenario: user sees payment and order errors in the Predict bottom sheet Given the user opens a Predict buy preview in bottom-sheet mode When the selected payment token cannot cover the quote Then the transaction-pay alert remains visible When order placement fails Then the order-failed banner remains visible until the user retries, changes the amount, or closes the sheet ``` ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** N/A ### **After** N/A ## **Pre-merge author checklist** <!-- Every checklist item must be consciously assessed before marking this PR as "Ready for review". A checked box means you deliberately considered that responsibility, not that you literally performed every action listed. Unchecked boxes are ambiguous: they are not an implicit "N/A" and they are not a silent "skip". See `docs/readme/ready-for-review.md` for the full checklist semantics. --> - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I've included tests if applicable - [x] I've documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I've applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. #### Performance checks (if applicable) - [x] I've tested on Android - Ideally on a mid-range device; emulator is acceptable - [x] I've tested with a power user scenario - Use these [power-user SRPs](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/edit-v2/401401446401?draftShareId=9d77e1e1-4bdc-4be1-9ebb-ccd916988d93) to import wallets with many accounts and tokens - [x] I've instrumented key operations with Sentry traces for production performance metrics - See [`trace()`](/app/util/trace.ts) for usage and [`addToken`](/app/components/Views/AddAsset/components/AddCustomToken/AddCustomToken.tsx#L274) for an example For performance guidelines and tooling, see the [Performance Guide](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/400085549067/Performance+Guide+for+Engineers). ## **Pre-merge reviewer checklist** <!-- Reviewer checklist items follow the same semantics as the author checklist: an unchecked box is ambiguous, a checked box means the reviewer consciously assessed that responsibility. See `docs/readme/ready-for-review.md`. --> - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. <!-- Generated with the help of the pr-description AI skill --> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Touches Predict buy/payment gating, navigation timing, and error surfacing logic; issues could block order placement or hide critical alerts if the new lock/settling conditions misfire. > > **Overview** > **Predict pay-with-any-token quote/CTA timing is hardened.** Adds a payment-selector navigation lock (with 1s delayed unlock + 5s safety timeout) and threads it through `PredictBuyWithAnyToken`/`usePredictBuyConditions` to disable the buy CTA and `PredictPayWithRow` immediately while the selector is opening/closing. > > **Quote settling and emissions are made token/tx-aware.** `usePredictBuyConditions` now treats settling as a *token+chain+amount* key (not just token address), and `PredictPayWithAnyTokenInfo` dedupes `updatePendingAmount`/`updateTokenAmount` by `transactionMeta.id + token address + chainId` so selecting a new token/tx with the same amount still re-triggers quotes. > > **Error UX is refined for sheet mode.** `usePredictBuyError` now returns `errorMessageSource`, prioritizes blocking pay-alert text (even while pay fees load), persists `order_failed` banners across controller refreshes, and clears persisted banners on token change; `PredictBuyWithAnyToken` conditionally suppresses only insufficient-balance helper text in Change Payment/Add Funds modes while keeping blocking pay alerts visible alongside banners. > > **Default token and fee display behavior is adjusted.** `usePredictDefaultPaymentToken` waits for account tokens before falling back, and `usePredictBuyInfo` always computes `depositFee` from `payTotals` (including when pay alerts exist) without caching a “last accepted” fee during confirming. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit ea34d01. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> [PRED-882]: https://consensyssoftware.atlassian.net/browse/PRED-882?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 1df4c23 commit ec66ea6

15 files changed

Lines changed: 1023 additions & 246 deletions

app/components/UI/Predict/constants/transactions.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ export const PREDICT_BALANCE_CHAIN_ID = '0x89' as Hex;
77

88
export const MINIMUM_BET = 1; // $1 minimum bet
99

10+
// Keeps the CTA locked long enough for the payment selector to close and the
11+
// new quote-loading state to arrive, while avoiding a laggy return to the buy
12+
// sheet after normal blur/focus navigation.
13+
export const PAYMENT_SELECTOR_NAVIGATION_UNLOCK_DELAY_MS = 1000;
14+
15+
// Fallback recovery if the payment-selector route does not emit the expected
16+
// blur/focus events, such as transparent modal or interrupted navigation cases.
17+
export const PAYMENT_SELECTOR_NAVIGATION_SAFETY_UNLOCK_MS = 5000;
18+
1019
export const PREDICT_BALANCE_TOKEN_KEY = 'predict-balance';
1120

1221
export const PREDICTION_ERROR_TRANSACTION_BATCH_ID = 'NA';

app/components/UI/Predict/views/PredictBuyWithAnyToken/PredictBuyWithAnyToken.test.tsx

Lines changed: 83 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ let mockFakOrdersEnabled = false;
2424
let mockIsPreviewCalculating = false;
2525
let mockIsPlacingOrder = false;
2626
let mockErrorMessage: string | undefined;
27+
let mockErrorMessageSource:
28+
| 'preview'
29+
| 'below_minimum'
30+
| 'insufficient_balance'
31+
| 'blocking_pay_alert'
32+
| 'order_error'
33+
| undefined;
2734
let mockBuyErrorBanner: {
2835
variant: 'price_changed' | 'order_failed';
2936
title: string;
@@ -156,6 +163,8 @@ jest.mock('./hooks/usePredictBuyInfo', () => ({
156163

157164
let mockIsCurrentTokenInsufficient = false;
158165
let mockHasAlternativeBalance = false;
166+
let mockIsPaymentSelectorNavigationLocked = false;
167+
const mockLockPaymentSelectorNavigation = jest.fn();
159168

160169
jest.mock('./hooks/usePredictBuyConditions', () => ({
161170
usePredictBuyConditions: () => ({
@@ -167,12 +176,16 @@ jest.mock('./hooks/usePredictBuyConditions', () => ({
167176
isInsufficientBalance: false,
168177
isCurrentTokenInsufficient: mockIsCurrentTokenInsufficient,
169178
hasAlternativeBalance: mockHasAlternativeBalance,
179+
maxBetAmount: 50,
180+
isPaymentSelectorNavigationLocked: mockIsPaymentSelectorNavigationLocked,
181+
lockPaymentSelectorNavigation: mockLockPaymentSelectorNavigation,
170182
}),
171183
}));
172184

173185
jest.mock('./hooks/usePredictBuyError', () => ({
174186
usePredictBuyError: () => ({
175187
errorMessage: mockErrorMessage,
188+
errorMessageSource: mockErrorMessageSource,
176189
buyErrorBanner: mockBuyErrorBanner,
177190
isOrderNotFilled: false,
178191
resetOrderNotFilled: mockResetOrderNotFilled,
@@ -317,16 +330,24 @@ jest.mock('./components/PredictPayWithAnyTokenInfo', () => {
317330
});
318331

319332
jest.mock('./components/PredictPayWithRow', () => {
320-
const { Text } = jest.requireActual('react-native');
333+
const { Pressable, Text } = jest.requireActual('react-native');
321334
return {
322335
PredictPayWithRow: ({
323336
disabled,
324337
variant,
338+
onPaymentSelectorOpen,
325339
}: {
326340
disabled?: boolean;
327341
variant?: string;
342+
onPaymentSelectorOpen?: () => void;
328343
}) => (
329-
<Text testID="predict-pay-with-row">{`disabled-${String(disabled)} variant-${variant ?? 'default'}`}</Text>
344+
<Pressable
345+
testID="predict-pay-with-row"
346+
disabled={disabled}
347+
onPress={onPaymentSelectorOpen}
348+
>
349+
<Text>{`disabled-${String(disabled)} variant-${variant ?? 'default'}`}</Text>
350+
</Pressable>
330351
),
331352
};
332353
});
@@ -409,9 +430,11 @@ describe('PredictBuyWithAnyToken', () => {
409430
mockIsPreviewCalculating = false;
410431
mockIsPlacingOrder = false;
411432
mockErrorMessage = undefined;
433+
mockErrorMessageSource = undefined;
412434
mockBuyErrorBanner = null;
413435
mockIsCurrentTokenInsufficient = false;
414436
mockHasAlternativeBalance = false;
437+
mockIsPaymentSelectorNavigationLocked = false;
415438
mockUseSelector.mockImplementation((selector) => {
416439
if (typeof selector === 'function') {
417440
return selector({
@@ -482,6 +505,27 @@ describe('PredictBuyWithAnyToken', () => {
482505
);
483506
});
484507

508+
it('locks the buy button when the payment selector opens and unlocks one second after focus returns', () => {
509+
renderWithProvider(<PredictBuyWithAnyToken />);
510+
511+
fireEvent.press(screen.getByTestId('predict-pay-with-row'));
512+
513+
expect(mockLockPaymentSelectorNavigation).toHaveBeenCalledTimes(1);
514+
});
515+
516+
it('uses the payment selector lock condition to disable the buy button and pay row', () => {
517+
mockIsPaymentSelectorNavigationLocked = true;
518+
519+
renderWithProvider(<PredictBuyWithAnyToken />);
520+
521+
expect(screen.getByTestId('predict-buy-action-button')).toHaveTextContent(
522+
/button-disabled-true/,
523+
);
524+
expect(screen.getByTestId('predict-pay-with-row')).toHaveTextContent(
525+
/disabled-true/,
526+
);
527+
});
528+
485529
describe('sheet mode', () => {
486530
const sheetProps = {
487531
mode: 'sheet' as const,
@@ -668,6 +712,7 @@ describe('PredictBuyWithAnyToken', () => {
668712
expect(mockNavigate).toHaveBeenCalledWith(
669713
Routes.CONFIRMATION_PAY_WITH_MODAL,
670714
);
715+
expect(mockLockPaymentSelectorNavigation).toHaveBeenCalledTimes(1);
671716
expect(mockHandleConfirm).not.toHaveBeenCalled();
672717
});
673718

@@ -777,10 +822,11 @@ describe('PredictBuyWithAnyToken', () => {
777822
expect(mockNavigate).not.toHaveBeenCalled();
778823
});
779824

780-
it('suppresses error text in Change Payment Method mode', () => {
825+
it('suppresses insufficient balance helper text in Change Payment Method mode', () => {
781826
mockIsCurrentTokenInsufficient = true;
782827
mockHasAlternativeBalance = true;
783828
mockErrorMessage = 'Not enough funds';
829+
mockErrorMessageSource = 'insufficient_balance';
784830

785831
renderWithProvider(<PredictBuyWithAnyToken {...sheetProps} />);
786832

@@ -789,16 +835,49 @@ describe('PredictBuyWithAnyToken', () => {
789835
);
790836
});
791837

792-
it('suppresses error text in Add Funds mode', () => {
838+
it('suppresses insufficient balance helper text in Add Funds mode', () => {
793839
mockIsCurrentTokenInsufficient = true;
794840
mockHasAlternativeBalance = false;
795841
mockErrorMessage = 'Not enough funds';
842+
mockErrorMessageSource = 'insufficient_balance';
796843

797844
renderWithProvider(<PredictBuyWithAnyToken {...sheetProps} />);
798845

799846
expect(screen.getByTestId('predict-buy-error')).toHaveTextContent(
800847
'no-error',
801848
);
802849
});
850+
851+
it('keeps transaction pay alert text visible in Change Payment Method mode', () => {
852+
mockIsCurrentTokenInsufficient = true;
853+
mockHasAlternativeBalance = true;
854+
mockErrorMessage = 'Add less or use a different token';
855+
mockErrorMessageSource = 'blocking_pay_alert';
856+
857+
renderWithProvider(<PredictBuyWithAnyToken {...sheetProps} />);
858+
859+
expect(screen.getByTestId('predict-buy-error')).toHaveTextContent(
860+
'Add less or use a different token',
861+
);
862+
});
863+
864+
it('keeps transaction pay alert text visible even when a sheet banner exists', () => {
865+
mockErrorMessage = 'Add less or use a different token';
866+
mockErrorMessageSource = 'blocking_pay_alert';
867+
mockBuyErrorBanner = {
868+
variant: 'order_failed',
869+
title: 'Order failed',
870+
description: 'Please retry',
871+
};
872+
873+
renderWithProvider(<PredictBuyWithAnyToken {...sheetProps} />);
874+
875+
expect(screen.getByTestId('predict-buy-error')).toHaveTextContent(
876+
'Add less or use a different token',
877+
);
878+
expect(
879+
screen.getByTestId('predict-buy-preview-order-failed-banner'),
880+
).toBeOnTheScreen();
881+
});
803882
});
804883
});

app/components/UI/Predict/views/PredictBuyWithAnyToken/PredictBuyWithAnyToken.tsx

Lines changed: 86 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,52 @@ import {
6868
predictBuyPreviewSessionRef,
6969
} from '../PredictBuyPreview/PredictBuyPreview';
7070

71+
interface BuyActionButtonStateParams {
72+
isPaymentSelectorNavigationLocked: boolean;
73+
isBannerActive: boolean;
74+
isChangePaymentMode: boolean;
75+
isAddFundsMode: boolean;
76+
isRetrying: boolean;
77+
hasPreview: boolean;
78+
canPlaceBet: boolean;
79+
}
80+
81+
const getBuyActionButtonState = ({
82+
isPaymentSelectorNavigationLocked,
83+
isBannerActive,
84+
isChangePaymentMode,
85+
isAddFundsMode,
86+
isRetrying,
87+
hasPreview,
88+
canPlaceBet,
89+
}: BuyActionButtonStateParams) => {
90+
if (isPaymentSelectorNavigationLocked) {
91+
return {
92+
disabled: true,
93+
reducedOpacity: true,
94+
};
95+
}
96+
97+
if (!isBannerActive && (isChangePaymentMode || isAddFundsMode)) {
98+
return {
99+
disabled: false,
100+
reducedOpacity: false,
101+
};
102+
}
103+
104+
if (isBannerActive) {
105+
return {
106+
disabled: isRetrying || !hasPreview,
107+
reducedOpacity: !hasPreview,
108+
};
109+
}
110+
111+
return {
112+
disabled: !canPlaceBet,
113+
reducedOpacity: !canPlaceBet,
114+
};
115+
};
116+
71117
const PredictBuyWithAnyToken = (props: PredictBuyPreviewProps) => {
72118
const tw = useTailwind();
73119
const keypadRef = useRef<PredictKeypadHandles>(null);
@@ -184,19 +230,21 @@ const PredictBuyWithAnyToken = (props: PredictBuyPreviewProps) => {
184230
isCurrentTokenInsufficient,
185231
hasAlternativeBalance,
186232
isPaySystemSettling,
233+
isPaymentSelectorNavigationLocked,
234+
lockPaymentSelectorNavigation,
187235
} = usePredictBuyConditions({
188236
currentValue,
189237
preview,
190238
isPreviewCalculating,
191239
isUserInputChange,
192240
isConfirming,
193241
totalPayForPredictBalance,
194-
isInputFocused,
195242
hasBlockingPayAlerts,
196243
});
197244

198245
const {
199246
errorMessage,
247+
errorMessageSource,
200248
buyErrorBanner,
201249
isOrderNotFilled,
202250
resetOrderNotFilled,
@@ -224,8 +272,9 @@ const PredictBuyWithAnyToken = (props: PredictBuyPreviewProps) => {
224272
);
225273

226274
const handleChangePaymentMethod = useCallback(() => {
275+
lockPaymentSelectorNavigation();
227276
navigation.navigate(Routes.CONFIRMATION_PAY_WITH_MODAL);
228-
}, [navigation]);
277+
}, [lockPaymentSelectorNavigation, navigation]);
229278

230279
const handleAddFunds = useCallback(() => {
231280
if (isSheetMode) {
@@ -294,6 +343,10 @@ const PredictBuyWithAnyToken = (props: PredictBuyPreviewProps) => {
294343
}, [isSheetMode, isBannerActive, isInputFocused, setIsInputFocused]);
295344

296345
const handleBuyButtonPress = useCallback(() => {
346+
if (isPaymentSelectorNavigationLocked) {
347+
return;
348+
}
349+
297350
if (isBannerActive) {
298351
handleRetryWithBestPrice();
299352
return;
@@ -309,6 +362,7 @@ const PredictBuyWithAnyToken = (props: PredictBuyPreviewProps) => {
309362
handleConfirm();
310363
}, [
311364
isBannerActive,
365+
isPaymentSelectorNavigationLocked,
312366
isChangePaymentMode,
313367
isAddFundsMode,
314368
handleRetryWithBestPrice,
@@ -333,6 +387,26 @@ const PredictBuyWithAnyToken = (props: PredictBuyPreviewProps) => {
333387
? { twClassName: 'bg-background-default' }
334388
: { style: tw.style('flex-1 bg-background-default') };
335389

390+
const {
391+
disabled: isBuyActionButtonDisabled,
392+
reducedOpacity: showBuyActionButtonReducedOpacity,
393+
} = getBuyActionButtonState({
394+
isPaymentSelectorNavigationLocked,
395+
isBannerActive,
396+
isChangePaymentMode,
397+
isAddFundsMode,
398+
isRetrying,
399+
hasPreview: Boolean(preview),
400+
canPlaceBet,
401+
});
402+
const shouldSuppressInlineError =
403+
(isChangePaymentMode || isAddFundsMode) &&
404+
errorMessageSource === 'insufficient_balance';
405+
const shouldRenderInlineError =
406+
!isSheetMode ||
407+
!buyErrorBanner ||
408+
errorMessageSource === 'blocking_pay_alert';
409+
336410
return (
337411
<Wrapper {...wrapperProps}>
338412
{!isSheetMode && (
@@ -393,16 +467,17 @@ const PredictBuyWithAnyToken = (props: PredictBuyPreviewProps) => {
393467
hideAvailableBalance={false}
394468
/>
395469
{payWithAnyTokenEnabled && (
396-
<PredictPayWithRow disabled={isPlacingOrder} />
470+
<PredictPayWithRow
471+
disabled={isPlacingOrder || isPaymentSelectorNavigationLocked}
472+
onPaymentSelectorOpen={lockPaymentSelectorNavigation}
473+
/>
397474
)}
398475
</Box>
399476
</ScrollView>
400477
)}
401-
{!(isSheetMode && buyErrorBanner) && (
478+
{shouldRenderInlineError && (
402479
<PredictBuyError
403-
errorMessage={
404-
isChangePaymentMode || isAddFundsMode ? undefined : errorMessage
405-
}
480+
errorMessage={shouldSuppressInlineError ? undefined : errorMessage}
406481
/>
407482
)}
408483
{!isSheetMode && (
@@ -428,9 +503,10 @@ const PredictBuyWithAnyToken = (props: PredictBuyPreviewProps) => {
428503
)}
429504
{payWithAnyTokenEnabled && isSheetMode && (
430505
<PredictPayWithRow
431-
disabled={isPlacingOrder}
506+
disabled={isPlacingOrder || isPaymentSelectorNavigationLocked}
432507
variant="row"
433508
availableBalance={availableBalanceDisplay}
509+
onPaymentSelectorOpen={lockPaymentSelectorNavigation}
434510
/>
435511
)}
436512
<PredictFeeSummary
@@ -456,20 +532,8 @@ const PredictBuyWithAnyToken = (props: PredictBuyPreviewProps) => {
456532
<PredictBuyActionButton
457533
isLoading={isPlacingOrder || (isBannerActive && isRetrying)}
458534
onPress={handleBuyButtonPress}
459-
disabled={
460-
!isBannerActive && (isChangePaymentMode || isAddFundsMode)
461-
? false
462-
: isBannerActive
463-
? isRetrying || !preview
464-
: !canPlaceBet
465-
}
466-
showReducedOpacity={
467-
!isBannerActive && (isChangePaymentMode || isAddFundsMode)
468-
? false
469-
: isBannerActive
470-
? !preview
471-
: !canPlaceBet
472-
}
535+
disabled={isBuyActionButtonDisabled}
536+
showReducedOpacity={showBuyActionButtonReducedOpacity}
473537
outcomeTokenTitle={outcomeToken?.title}
474538
sharePrice={preview?.sharePrice ?? outcomeToken?.price ?? 0}
475539
isSheetMode={isSheetMode}

0 commit comments

Comments
 (0)