Skip to content

Commit

Permalink
disable end block height input for now
Browse files Browse the repository at this point in the history
  • Loading branch information
usmanmani1122 committed Nov 10, 2024
1 parent fd82212 commit 3bd870f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions app/logs/download/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,14 @@ const Page = () => {
<div className="flex flex-col space-y-1 w-full">
<label>End Block Height</label>
<TextInput
className="border border-solid border-gray w-full"
onChange={({ target: { value } }) =>
!isNaN(Number(value)) &&
setState((prevState) => ({ ...prevState, endBlockHeight: value }))
}
value={state.endBlockHeight}
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}
/>
</div>
</div>
Expand Down

0 comments on commit 3bd870f

Please sign in to comment.