Commit b4e999ca authored by Max Alekseenko's avatar Max Alekseenko

update ref link

parent 7e87fdeb
......@@ -143,8 +143,16 @@ const RewardsDashboard = () => {
px={ 6 }
flexShrink={ 0 }
>
<CopyField label="Referral link" value={ referralsQuery.data?.link || '' } isLoading={ referralsQuery.isLoading }/>
<CopyField label="Referral code" value={ referralsQuery.data?.code || '' } isLoading={ referralsQuery.isLoading }/>
<CopyField
label="Referral link"
value={ `https://eth.blockscout.com?ref=${ referralsQuery.data?.code }` }
isLoading={ referralsQuery.isLoading }
/>
<CopyField
label="Referral code"
value={ referralsQuery.data?.code || '' }
isLoading={ referralsQuery.isLoading }
/>
<Flex flexDirection="column">
<Flex alignItems="center" gap={ 1 } w="120px">
<HintPopover
......
......@@ -99,7 +99,7 @@ const CongratsStepContent = ({ isReferral }: Props) => {
</Text>
<CopyField
label="Referral link"
value={ referralsQuery.data?.link || '' }
value={ `https://eth.blockscout.com?ref=${ referralsQuery.data?.code }` }
isLoading={ referralsQuery.isLoading }
mt={ 3 }
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment