flysoft-react-ui 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AI_CONTEXT.md +1 -2
- package/dist/contexts/AuthContext.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/AI_CONTEXT.md
CHANGED
|
@@ -117,9 +117,9 @@ export const AuthProvider = ({ children, getToken, getUserData, removeToken, })
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
catch (error) {
|
|
120
|
-
console.error("Error durante el login:", error);
|
|
121
120
|
setUser(null);
|
|
122
121
|
setIsAuthenticated(false);
|
|
122
|
+
throw error;
|
|
123
123
|
}
|
|
124
124
|
finally {
|
|
125
125
|
setIsLoading(false);
|