@thetechfossil/auth2 1.2.9 → 1.2.11

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.
@@ -4263,8 +4263,9 @@ var UserProfile = ({
4263
4263
  setIsLoading(false);
4264
4264
  }
4265
4265
  };
4266
- const handleAvatarUploadComplete = (avatarUrl) => {
4266
+ const handleAvatarUploadComplete = async (avatarUrl) => {
4267
4267
  setSuccess("Avatar updated successfully!");
4268
+ window.location.reload();
4268
4269
  };
4269
4270
  const handleAvatarUploadError = (error2) => {
4270
4271
  setError(error2.message || "Failed to upload avatar");