Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

Commit

Permalink
Merge pull request #268 from etclabscore/fix/blocks-on-dashboard
Browse files Browse the repository at this point in the history
fix: showing blocks on dashboard with low block numbers
  • Loading branch information
shanejonas authored Feb 26, 2020
2 parents f84dcff + af99025 commit 43d9176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/containers/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ export default (props: any) => {

<BlockListContainer
from={Math.max(blockNumber - 14, 0)}
to={blockNumber - 3}
to={blockNumber}
disablePrev={true}
disableNext={blockNumber === 0}
disableNext={blockNumber < 14}
onNext={() => {
props.history.push(`/blocks/${blockNumber - 15}`);
}}
Expand Down

0 comments on commit 43d9176

Please sign in to comment.