@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.
package/dist/index.js CHANGED
@@ -4591,8 +4591,9 @@ var UserProfile = ({
4591
4591
  setIsLoading(false);
4592
4592
  }
4593
4593
  };
4594
- const handleAvatarUploadComplete = (avatarUrl) => {
4594
+ const handleAvatarUploadComplete = async (avatarUrl) => {
4595
4595
  setSuccess("Avatar updated successfully!");
4596
+ window.location.reload();
4596
4597
  };
4597
4598
  const handleAvatarUploadError = (error2) => {
4598
4599
  setError(error2.message || "Failed to upload avatar");