mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 12:13:25 +00:00
add loading states to buttons
This commit is contained in:
@@ -75,7 +75,12 @@ export function DeleteAccountAlert() {
|
||||
asChild
|
||||
onPress={() => deleteAccountMutation.mutate()}
|
||||
>
|
||||
<MWButton type="purple">I am sure</MWButton>
|
||||
<MWButton
|
||||
type="purple"
|
||||
isLoading={deleteAccountMutation.isPending}
|
||||
>
|
||||
I am sure
|
||||
</MWButton>
|
||||
</AlertDialog.Action>
|
||||
</XStack>
|
||||
</YStack>
|
||||
|
Reference in New Issue
Block a user