fix: disable automatic retries for login user mutation (#9576)

🔧 (use-post-login-user.ts): set retry option to false to prevent automatic retries on login user mutation
This commit is contained in:
Cristhian Zanforlin Lousa 2025-08-29 13:54:16 -03:00 committed by GitHub
commit 1716976994
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,6 +29,7 @@ export const useLoginUser: useMutationFunctionType<undefined, LoginType> = (
["useLoginUser"],
loginUserFn,
{
retry: false,
...options,
onSettled: () => {
queryClient.refetchQueries({ queryKey: ["useGetFolders"] });