@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.
@@ -4579,8 +4579,9 @@ var UserProfile = ({
4579
4579
  setIsLoading(false);
4580
4580
  }
4581
4581
  };
4582
- const handleAvatarUploadComplete = (avatarUrl) => {
4582
+ const handleAvatarUploadComplete = async (avatarUrl) => {
4583
4583
  setSuccess("Avatar updated successfully!");
4584
+ window.location.reload();
4584
4585
  };
4585
4586
  const handleAvatarUploadError = (error2) => {
4586
4587
  setError(error2.message || "Failed to upload avatar");