Skip to content

Commit

Permalink
Add missing button submitting state in example
Browse files Browse the repository at this point in the history
  • Loading branch information
timomeh committed Feb 26, 2024
1 parent a93409a commit 553f637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ function App() {
{loading === 'idle' && <div>Fill out form first</div>}
{loading === 'loading' && <div>Loading...</div>}
<div ref={$portingEmbedEl} />
<button type="submit" form="gigsPortingEmbedForm">
Save porting
<button type="submit" form="gigsPortingEmbedForm" disabled={submitting}>
{submitting ? 'Submitting...' : 'Save porting'}
</button>
</>
)
Expand Down

0 comments on commit 553f637

Please sign in to comment.