useUpdateProfile
Display name and photo URL.
const { update, isPending } = useUpdateProfile();
await update({ displayName: fullName, photoURL: avatarUrl });Returns
update({ displayName?, photoURL? }) resolves to { success: true } or a failure result. Both fields accept null to clear them. Also exposes status, isPending, isSuccess, error, and reset.
Notes
No reauthentication needed — Firebase treats profile fields as non-sensitive.