diff --git a/apps/evm/src/pages/Fusion/components/Dashboard/Dashboard.tsx b/apps/evm/src/pages/Fusion/components/Dashboard/Dashboard.tsx index 6f5b7630e..6604fbfc4 100644 --- a/apps/evm/src/pages/Fusion/components/Dashboard/Dashboard.tsx +++ b/apps/evm/src/pages/Fusion/components/Dashboard/Dashboard.tsx @@ -1,12 +1,14 @@ -import { Card, Flex, InformationCircle, P } from '@gobob/ui'; +import { Card, Flex, InformationCircle, P, TextLink } from '@gobob/ui'; import { useAccount } from '@gobob/wagmi'; import { useTranslation } from 'react-i18next'; +import { useMemo } from 'react'; import { useGetUser } from '../../../../hooks'; import { LoginSignUp } from '../LoginSignUp'; import { StyledCard } from '../PartnersSection/PartnerCard.style'; import { ProjectStatus } from '../ProjectStatus'; import { UserStats } from '../UserStats'; +import { useHaltedLockedTokens } from '../../hooks'; const Dashboard = () => { const { address } = useAccount(); @@ -15,13 +17,28 @@ const Dashboard = () => { const isAuthenticated = !!address && !!user; + const { data: haltedLockedTokens } = useHaltedLockedTokens(); + + const hasAlex = useMemo(() => haltedLockedTokens?.find((token) => token.raw.symbol === 'ALEX'), [haltedLockedTokens]); + return ( -

- {t('fusion.spiceWaitTime')} -

+ {hasAlex ? ( +

+ Due to an exploit involving the XLink bridge, Alex Lab has disabled bridging and withdrawing ALEX. You can + migrate the ALEX tokens that you have in Fusion Season 1 to ALEX V2. For additional details see the{' '} + + announcement from ALEX Lab + + . +

+ ) : ( +

+ {t('fusion.spiceWaitTime')} +

+ )}
diff --git a/apps/evm/src/pages/Fusion/components/WithdrawModal/WithdrawModal.tsx b/apps/evm/src/pages/Fusion/components/WithdrawModal/WithdrawModal.tsx index c9cf55c23..1b324199c 100644 --- a/apps/evm/src/pages/Fusion/components/WithdrawModal/WithdrawModal.tsx +++ b/apps/evm/src/pages/Fusion/components/WithdrawModal/WithdrawModal.tsx @@ -59,7 +59,7 @@ const WithdrawModal = ({ isSmartAccount, onClose, onWithdrawalMutationComplete,

Due to an exploit involving the XLink bridge, Alex Lab has disabled bridging and withdrawing ALEX. If you - possess ALEX tokens from Fusion Season 1, you can migrate them to Alex V2. For additional details see the{' '} + possess ALEX tokens from Fusion Season 1, you can migrate them to ALEX V2. For additional details see the{' '} announcement from ALEX Lab