Skip to content

Commit

Permalink
feat(webapp): add loading button disable
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wing committed Jul 4, 2023
1 parent 4487b67 commit 7d7ff21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/components2/send-area.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default () => {

</div>

<button className="p-3 w-full block border-1 rounded-md bg-blue-500 text-white font-bold flex flex-row justify-center" onClick={ () => toggleCommit(relay) }>
<button className="p-3 w-full block border-1 rounded-md bg-blue-500 text-white font-bold flex flex-row justify-center" disabled={ loading } onClick={ () => toggleCommit(relay) }>
{ loading
? <Loading></Loading>
: null
Expand Down

0 comments on commit 7d7ff21

Please sign in to comment.