Commit b4e999ca authored by Max Alekseenko's avatar Max Alekseenko

update ref link

parent 7e87fdeb
...@@ -143,8 +143,16 @@ const RewardsDashboard = () => { ...@@ -143,8 +143,16 @@ const RewardsDashboard = () => {
px={ 6 } px={ 6 }
flexShrink={ 0 } flexShrink={ 0 }
> >
<CopyField label="Referral link" value={ referralsQuery.data?.link || '' } isLoading={ referralsQuery.isLoading }/> <CopyField
<CopyField label="Referral code" value={ referralsQuery.data?.code || '' } isLoading={ referralsQuery.isLoading }/> 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 flexDirection="column">
<Flex alignItems="center" gap={ 1 } w="120px"> <Flex alignItems="center" gap={ 1 } w="120px">
<HintPopover <HintPopover
......
...@@ -99,7 +99,7 @@ const CongratsStepContent = ({ isReferral }: Props) => { ...@@ -99,7 +99,7 @@ const CongratsStepContent = ({ isReferral }: Props) => {
</Text> </Text>
<CopyField <CopyField
label="Referral link" label="Referral link"
value={ referralsQuery.data?.link || '' } value={ `https://eth.blockscout.com?ref=${ referralsQuery.data?.code }` }
isLoading={ referralsQuery.isLoading } isLoading={ referralsQuery.isLoading }
mt={ 3 } 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