@thetechfossil/auth2 1.2.9 → 1.2.10

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.
@@ -4586,8 +4586,9 @@ var UserProfile = ({
4586
4586
  setIsLoading(false);
4587
4587
  }
4588
4588
  };
4589
- const handleAvatarUploadComplete = (avatarUrl) => {
4589
+ const handleAvatarUploadComplete = async (avatarUrl) => {
4590
4590
  setSuccess("Avatar updated successfully!");
4591
+ window.location.reload();
4591
4592
  };
4592
4593
  const handleAvatarUploadError = (error2) => {
4593
4594
  setError(error2.message || "Failed to upload avatar");