feat: implement user referral code

This commit is contained in:
jinhojang6 2024-10-30 23:30:48 +09:00
parent 70fd67d057
commit a430b0bb28
No known key found for this signature in database
GPG Key ID: 1762F21FE8B543F8
3 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ const OperatorPanel: React.FC<OperatorPanelProps> = () => {
<CollapseContainer>
<EnterXPCode />
<CopyCode referralCode="WIP" />
<CopyCode referralCode={user?.referral_code || ''} />
</CollapseContainer>
</StyledPanel>
)

View File

@ -48,7 +48,7 @@ const DashboardContainer: React.FC<DashboardPageProps> = ({
enabled: !!walletAddress && walletAddress.length > 0,
})
// console.log('userXP', userXP)
console.log('userXP', userXP)
return (
<Container {...props}>