Skip to content

Commit

Permalink
enable end block height input
Browse files Browse the repository at this point in the history
  • Loading branch information
usmanmani1122 committed Nov 25, 2024
1 parent 6e2c6ec commit 465ecac
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions app/logs/download/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,11 @@ const Page = () => {
<label>End Block Height</label>
<TextInput
className="border border-solid border-gray disabled:bg-gray-200 w-full"
disabled
// onChange={({ target: { value } }) =>
// !isNaN(Number(value)) &&
// setState((prevState) => ({ ...prevState, endBlockHeight: value }))
// }
// value={state.endBlockHeight}
value={state.startBlockHeight}
onChange={({ target: { value } }) =>
!isNaN(Number(value)) &&
setState((prevState) => ({ ...prevState, endBlockHeight: value }))
}
value={state.endBlockHeight}
/>
</div>
</div>
Expand Down

0 comments on commit 465ecac

Please sign in to comment.