mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-10-31 14:15:50 +00:00 
			
		
		
		
	chore: update to react query v5
This commit is contained in:
		| @@ -113,7 +113,7 @@ export const LoginPage = () => { | ||||
|             </Text> | ||||
|             <OAuthButtons | ||||
|               oauthProviders={oauthProviders} | ||||
|               isLoading={loginOAuthMutation.isLoading} | ||||
|               isPending={loginOAuthMutation.isPending} | ||||
|               mutate={loginOAuthMutation.mutate} | ||||
|               genericName={genericName} | ||||
|             /> | ||||
| @@ -128,7 +128,7 @@ export const LoginPage = () => { | ||||
|         )} | ||||
|         {configuredProviders.includes("username") && ( | ||||
|           <LoginForm | ||||
|             isLoading={loginMutation.isLoading} | ||||
|             isPending={loginMutation.isPending} | ||||
|             onSubmit={handleSubmit} | ||||
|           /> | ||||
|         )} | ||||
|   | ||||
| @@ -74,7 +74,7 @@ export const LogoutPage = () => { | ||||
|           fullWidth | ||||
|           mt="xl" | ||||
|           onClick={() => logoutMutation.mutate()} | ||||
|           loading={logoutMutation.isLoading} | ||||
|           loading={logoutMutation.isPending} | ||||
|         > | ||||
|           {t("logoutTitle")} | ||||
|         </Button> | ||||
|   | ||||
| @@ -57,7 +57,7 @@ export const TotpPage = () => { | ||||
|           {t("totpTitle")} | ||||
|         </Text> | ||||
|         <TotpForm | ||||
|           isLoading={totpMutation.isLoading} | ||||
|           isPending={totpMutation.isPending} | ||||
|           onSubmit={(values) => totpMutation.mutate(values)} | ||||
|         /> | ||||
|       </Paper> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stavros
					Stavros