mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-25 10:51:13 -05:00
feat: Implement button loading states
This commit is contained in:
@@ -182,8 +182,8 @@ export function AddRideCreditDialog({ userId, open, onOpenChange, onSuccess }: A
|
||||
>
|
||||
Cancel
|
||||
</Button>
|
||||
<Button type="submit" disabled={submitting || !selectedRideId}>
|
||||
{submitting ? 'Adding...' : 'Add Credit'}
|
||||
<Button type="submit" loading={submitting} loadingText="Adding..." disabled={!selectedRideId}>
|
||||
Add Credit
|
||||
</Button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user