Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions components/grant-application/StepNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ export default function StepNavigation({
<button
type="button"
onClick={onSubmit}
disabled={true}
disabled={loading}
aria-busy={loading}
className="cursor-not-allowed rounded-md bg-orange-500 px-6 py-2 text-sm font-semibold text-white opacity-50"
className={`rounded-md bg-orange-500 px-6 py-2 text-sm font-semibold text-white ${
loading ? 'cursor-not-allowed opacity-50' : 'hover:bg-orange-600'
}`}
>
{loading ? 'Submitting...' : submitLabel}
</button>
Expand Down
Loading