Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
- Delete commented
- Comment useEffect
  • Loading branch information
selankon committed Aug 20, 2024
1 parent d579400 commit d2148c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
1 change: 1 addition & 0 deletions src/components/Stats/ChainDetails/StatsCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const IncrementalStat = ({ value, label }: IncrementalStatProps) => {
const [displayNumber, setDisplayNumber] = useState(0)
const duration = 2000

// Incremental animation to create a counter effect
useEffect(() => {
let intervalId: NodeJS.Timeout
let start = Date.now()
Expand Down
14 changes: 1 addition & 13 deletions src/components/Stats/ChainDetails/TxCosts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,5 @@ const TxCosts = () => {
})
}

return (
// <StatsCardWrapper
// icon={Icons.TxIcon}
// title={t('stats.voc_tokens', { defaultValue: 'VOC Tokens' })}
// raw={txCosts}
// isLoading={isLoading}
// rightComp={<PriceFactorsModal />}
// isError={isError}
// error={error}
// >
<DetailsGrid rowGap={0} columnGap={6} details={prices} />
// </StatsCardWrapper>
)
return <DetailsGrid rowGap={0} columnGap={6} details={prices} />
}

0 comments on commit d2148c0

Please sign in to comment.