diff --git a/packages/bridge-ui/src/app.config.ts b/packages/bridge-ui/src/app.config.ts index 13804914dd1..8c9ebc03692 100644 --- a/packages/bridge-ui/src/app.config.ts +++ b/packages/bridge-ui/src/app.config.ts @@ -42,7 +42,7 @@ export const toastConfig = { }; export const apiService = { - timeout: 5000, + timeout: 10_000, // 10 seconds }; export const ipfsConfig = { diff --git a/packages/bridge-ui/src/components/Bridge/SharedBridgeComponents/ConfirmationStep/ConfirmationStep.svelte b/packages/bridge-ui/src/components/Bridge/SharedBridgeComponents/ConfirmationStep/ConfirmationStep.svelte index 2d72fdedda1..31b0dbb3a55 100644 --- a/packages/bridge-ui/src/components/Bridge/SharedBridgeComponents/ConfirmationStep/ConfirmationStep.svelte +++ b/packages/bridge-ui/src/components/Bridge/SharedBridgeComponents/ConfirmationStep/ConfirmationStep.svelte @@ -90,7 +90,7 @@ } const bridgeTx = { - hash: txHash, + srcTxHash: txHash, from: $account.address, amount: $enteredAmount, symbol: $selectedToken?.symbol, diff --git a/packages/bridge-ui/src/components/Dialogs/ClaimDialog/ClaimDialog.svelte b/packages/bridge-ui/src/components/Dialogs/ClaimDialog/ClaimDialog.svelte index 137d311eed9..146c838754f 100644 --- a/packages/bridge-ui/src/components/Dialogs/ClaimDialog/ClaimDialog.svelte +++ b/packages/bridge-ui/src/components/Dialogs/ClaimDialog/ClaimDialog.svelte @@ -56,7 +56,7 @@ }; let force = false; - let canForceTransaction = false; + // let canForceTransaction = false; let canContinue = false; let claiming: boolean; let claimingDone = false; @@ -124,7 +124,7 @@ const handleClaimError = (event: CustomEvent<{ error: unknown; action: ClaimAction }>) => { //TODO: update this to display info alongside toasts const err = event.detail.error; - canForceTransaction = true; + // canForceTransaction = true; switch (true) { case err instanceof NotConnectedError: warningToast({ title: $t('messages.account.required') }); @@ -172,7 +172,7 @@ const reset = () => { activeStep = INITIAL_STEP; claimingDone = false; - canForceTransaction = false; + // canForceTransaction = false; }; let previousStep: ClaimSteps; @@ -204,7 +204,7 @@ isActive={activeStep === ClaimSteps.CONFIRM}>{$t('bridge.step.confirm.title')} {#if activeStep === ClaimSteps.CHECK} - + {:else if activeStep === ClaimSteps.REVIEW} {:else if activeStep === ClaimSteps.CONFIRM} @@ -214,11 +214,6 @@ on:claim={handleClaimClick} bind:claiming bind:canClaim={canContinue} - {canForceTransaction} - on:forceClaim={() => { - force = true; - handleClaimClick(); - }} bind:claimingDone /> {/if}
diff --git a/packages/bridge-ui/src/components/Dialogs/RetryDialog/RetryDialog.svelte b/packages/bridge-ui/src/components/Dialogs/RetryDialog/RetryDialog.svelte index ab01ed55c35..3a90c0a6624 100644 --- a/packages/bridge-ui/src/components/Dialogs/RetryDialog/RetryDialog.svelte +++ b/packages/bridge-ui/src/components/Dialogs/RetryDialog/RetryDialog.svelte @@ -138,7 +138,7 @@ {#if activeStep === RetrySteps.CHECK} - + {:else if activeStep === RetrySteps.SELECT} {:else if activeStep === RetrySteps.REVIEW} diff --git a/packages/bridge-ui/src/components/Dialogs/Shared/ClaimConfirmStep.svelte b/packages/bridge-ui/src/components/Dialogs/Shared/ClaimConfirmStep.svelte index f86aa869e60..fb0a110d2b1 100644 --- a/packages/bridge-ui/src/components/Dialogs/Shared/ClaimConfirmStep.svelte +++ b/packages/bridge-ui/src/components/Dialogs/Shared/ClaimConfirmStep.svelte @@ -20,7 +20,7 @@ export let txHash: Hash; - export let canForceTransaction = false; + // export let canForceTransaction = false; const dispatch = createEventDispatcher(); @@ -28,9 +28,9 @@ dispatch('claim'); }; - const handleForceClaim = async () => { - dispatch('forceClaim'); - }; + // const handleForceClaim = async () => { + // dispatch('forceClaim'); + // }; const getSuccessTitle = () => { return $t('bridge.step.confirm.success.claim'); @@ -93,16 +93,15 @@ priority="primary" loading={claiming} on:click={() => handleClaimClick()} - disabled={claimDisabled || canForceTransaction} - >{$t('transactions.claim.steps.confirm.claim_button')} - {#if canForceTransaction} + disabled={claimDisabled}>{$t('transactions.claim.steps.confirm.claim_button')} + {/if}
diff --git a/packages/bridge-ui/src/components/Dialogs/Shared/ClaimPreCheck.svelte b/packages/bridge-ui/src/components/Dialogs/Shared/ClaimPreCheck.svelte index c94916b5ba2..3351c040dc0 100644 --- a/packages/bridge-ui/src/components/Dialogs/Shared/ClaimPreCheck.svelte +++ b/packages/bridge-ui/src/components/Dialogs/Shared/ClaimPreCheck.svelte @@ -1,9 +1,10 @@