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