diff --git a/features/withdrawals/request/form/bunker-info.tsx b/features/withdrawals/request/form/bunker-info.tsx
index 1c191ee70..ef1b61122 100644
--- a/features/withdrawals/request/form/bunker-info.tsx
+++ b/features/withdrawals/request/form/bunker-info.tsx
@@ -1,14 +1,18 @@
-import Link from 'next/link';
-
+import { useInpageNavigation } from 'providers/inpage-navigation';
import { InfoBoxStyled } from 'features/withdrawals/shared';
export const BunkerInfo = () => {
+ const { navigateInpageAnchor } = useInpageNavigation();
+
return (
Lido protocol is in "Bunker mode". The withdrawal requests are
slowed down until the consequences of the incident that caused
"Bunker mode" are not resolved. For more details,{' '}
- see here.
+
+ see here
+
+ .
);
};
diff --git a/features/withdrawals/request/form/options/lido-option.tsx b/features/withdrawals/request/form/options/lido-option.tsx
index a7163a1d7..8ae9219ad 100644
--- a/features/withdrawals/request/form/options/lido-option.tsx
+++ b/features/withdrawals/request/form/options/lido-option.tsx
@@ -1,4 +1,3 @@
-import Link from 'next/link';
import { useWatch } from 'react-hook-form';
import { formatEther } from '@ethersproject/units';
@@ -6,6 +5,7 @@ import { Tooltip, Question } from '@lidofinance/lido-ui';
import { TOKENS } from '@lido-sdk/constants';
import { useEthAmountByStethWsteth } from 'features/withdrawals/hooks';
+import { useInpageNavigation } from 'providers/inpage-navigation';
import { RequestFormInputType } from 'features/withdrawals/request/request-form-context';
import {
@@ -21,6 +21,8 @@ import {
} from './styles';
const TooltipWithdrawalAmount = () => {
+ const { navigateInpageAnchor } = useInpageNavigation();
+
return (
{
<>
The final amount of claimable ETH can differ
For more info, please read{' '}
-
-
- trackMatomoEvent(
- MATOMO_CLICK_EVENTS_TYPES.withdrawalFAQtooltipEthAmount,
- )
- }
- >
- FAQ
-
-
+ {
+ trackMatomoEvent(
+ MATOMO_CLICK_EVENTS_TYPES.withdrawalFAQtooltipEthAmount,
+ );
+ navigateInpageAnchor(e);
+ }}
+ >
+ FAQ
+
>
}
>
diff --git a/features/withdrawals/request/wallet/wallet-queue-tooltip.tsx b/features/withdrawals/request/wallet/wallet-queue-tooltip.tsx
index 1ee5c1ed3..944de18dc 100644
--- a/features/withdrawals/request/wallet/wallet-queue-tooltip.tsx
+++ b/features/withdrawals/request/wallet/wallet-queue-tooltip.tsx
@@ -1,5 +1,4 @@
import { Question, Tooltip } from '@lidofinance/lido-ui';
-import Link from 'next/link';
import { FormatToken } from 'shared/formatters';
import { useWaitingTime } from 'features/withdrawals/hooks';
@@ -10,10 +9,12 @@ import {
} from 'config/trackMatomoEvent';
import { QueueInfoStyled, DataTableRowStyled } from './styles';
import { useRequestFormData } from '../request-form-context';
+import { useInpageNavigation } from 'providers/inpage-navigation';
export const WalletQueueTooltip = () => {
const waitingTime = useWaitingTime('');
const { unfinalizedStETH } = useRequestFormData();
+ const { navigateInpageAnchor } = useInpageNavigation();
const queueInfo = (
@@ -38,19 +39,18 @@ export const WalletQueueTooltip = () => {
<>
The withdrawal request time depends on the mode, overall amount of stETH
in queue and{' '}
-
-
- trackMatomoEvent(
- MATOMO_CLICK_EVENTS_TYPES.withdrawalOtherFactorsTooltipMode,
- )
- }
- >
- other factors
-
-
+ {
+ trackMatomoEvent(
+ MATOMO_CLICK_EVENTS_TYPES.withdrawalOtherFactorsTooltipMode,
+ );
+ navigateInpageAnchor(e);
+ }}
+ >
+ other factors
+
.{queueInfo}
>
);
diff --git a/features/withdrawals/withdrawals-faq/list/bunker-mode-reasons.tsx b/features/withdrawals/withdrawals-faq/list/bunker-mode-reasons.tsx
index 0c8bb5947..0a5d0b357 100644
--- a/features/withdrawals/withdrawals-faq/list/bunker-mode-reasons.tsx
+++ b/features/withdrawals/withdrawals-faq/list/bunker-mode-reasons.tsx
@@ -1,8 +1,8 @@
-import { Accordion } from '@lidofinance/lido-ui';
+import { AccordionNavigatable } from 'shared/components/accordion-navigatable';
export const BunkerModeReasons: React.FC = () => {
return (
-
@@ -22,6 +22,6 @@ export const BunkerModeReasons: React.FC = () => {
the end of it.
-
+
);
};
diff --git a/features/withdrawals/withdrawals-faq/list/claimable-amount-difference.tsx b/features/withdrawals/withdrawals-faq/list/claimable-amount-difference.tsx
index cda9f8c36..05787dcd7 100644
--- a/features/withdrawals/withdrawals-faq/list/claimable-amount-difference.tsx
+++ b/features/withdrawals/withdrawals-faq/list/claimable-amount-difference.tsx
@@ -1,4 +1,4 @@
-import { Accordion } from '@lidofinance/lido-ui';
+import { AccordionNavigatable } from 'shared/components/accordion-navigatable';
type ClaimableAmountDifferenceProps = {
title: string;
@@ -8,12 +8,12 @@ export const ClaimableAmountDifference: React.FC<
ClaimableAmountDifferenceProps
> = ({ title }) => {
return (
-
+
The amount you can claim may differ from your initial request due to a
slashing occurrence and penalties. For these reasons, the total
claimable reward amount could be reduced.