@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.
@@ -4256,8 +4256,9 @@ var UserProfile = ({
4256
4256
  setIsLoading(false);
4257
4257
  }
4258
4258
  };
4259
- const handleAvatarUploadComplete = (avatarUrl) => {
4259
+ const handleAvatarUploadComplete = async (avatarUrl) => {
4260
4260
  setSuccess("Avatar updated successfully!");
4261
+ window.location.reload();
4261
4262
  };
4262
4263
  const handleAvatarUploadError = (error2) => {
4263
4264
  setError(error2.message || "Failed to upload avatar");