Skip to content

Commit

Permalink
fix: replace isLoading with isPending
Browse files Browse the repository at this point in the history
  • Loading branch information
DecampsRenan committed Dec 23, 2024
1 parent ded2e17 commit 1672b76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const AccountDeleteVerificationCodeModale = () => {
<Form {...form} onSubmit={onSubmit}>
<VerificationCodeForm
email={searchParams[SEARCH_PARAM_VERIFY_EMAIL] ?? ''}
isLoading={updateEmailValidate.isLoading}
isLoading={updateEmailValidate.isPending}
confirmText={t('account:deleteAccount.validate.button')}
confirmVariant="@dangerPrimary"
autoSubmit={false}
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/OAuthLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const OAuthLoginButton = ({
return (
<Button
onClick={() => loginWith.mutate({ provider: provider })}
isLoading={loginWith.isLoading || loginWith.isSuccess}
isLoading={loginWith.isPending || loginWith.isSuccess}
leftIcon={<Icon icon={OAUTH_PROVIDERS[provider].icon} />}
{...rest}
>
Expand Down

0 comments on commit 1672b76

Please sign in to comment.