mirror of
https://github.com/acid-info/logos-ordinals-dashboard.git
synced 2025-02-28 12:40:42 +00:00
chore: update progress bar
This commit is contained in:
parent
b1d6d27e32
commit
ee10888c37
@ -53,7 +53,7 @@ const ProgressBar: React.FC<ProgressBarProps> = ({
|
||||
</Epoch2Wrapper>
|
||||
</ProgressRow>
|
||||
<ProgressStats>
|
||||
<Stat>Current Rate: 100%</Stat>
|
||||
<Stat>Current Rate: {progress}%</Stat>
|
||||
{/* <Stat>XP Bonus: +20%</Stat> */}
|
||||
</ProgressStats>
|
||||
<ProgressFooter>
|
||||
|
@ -62,18 +62,20 @@ const DashboardContainer: React.FC<DashboardPageProps> = ({
|
||||
|
||||
// console.log('userXP', userXP)
|
||||
|
||||
const currentRate = 0
|
||||
|
||||
return (
|
||||
<Container {...props}>
|
||||
<Wrapper>
|
||||
<LeftColumn>
|
||||
<MobileProgressBar>
|
||||
<ProgressBar progress={30} claimPosition={76} />
|
||||
<ProgressBar progress={currentRate} claimPosition={80} />
|
||||
</MobileProgressBar>
|
||||
<OperatorPanel />
|
||||
</LeftColumn>
|
||||
<RightColumn>
|
||||
<DesktopProgressBar>
|
||||
<ProgressBar progress={30} claimPosition={76} />
|
||||
<ProgressBar progress={currentRate} claimPosition={80} />
|
||||
</DesktopProgressBar>
|
||||
<OperatorGrid
|
||||
data={processedOperators}
|
||||
|
Loading…
x
Reference in New Issue
Block a user