Skip to content

Commit

Permalink
drop unneeded markup
Browse files Browse the repository at this point in the history
  • Loading branch information
mdial89f committed Nov 18, 2023
1 parent c26db03 commit edea356
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/services/ui/src/pages/actions/IssueRai.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,11 @@ export const IssueRai = () => {
Missing or malformed information. Please see errors above.
</Alert>
) : null}
{form.formState.isSubmitting ? (
{form.formState.isSubmitting && (
<div className="p-4">
<LoadingSpinner />
</div>
) : null}
)}
<div className="flex gap-2">
<I.Button
disabled={form.formState.isSubmitting}
Expand Down
4 changes: 2 additions & 2 deletions src/services/ui/src/pages/actions/RespondToRai.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,11 @@ export const RespondToRai = () => {
Missing or malformed information. Please see errors above.
</Alert>
) : null}
{form.formState.isSubmitting ? (
{form.formState.isSubmitting && (
<div className="p-4">
<LoadingSpinner />
</div>
) : null}
)}
<div className="flex gap-2">
<I.Button
disabled={form.formState.isSubmitting}
Expand Down

0 comments on commit edea356

Please sign in to comment.