From cb0226d4ae38981028b48e2b865be1b08d21eea8 Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Mon, 3 Aug 2026 10:21:07 +0530 Subject: [PATCH] docs: update stale samePetRevision comment reference The helper was extracted and renamed to hasPetSpriteForMeta + mergePetInfoMeta; the pet.changed comment still cited the old name. --- apps/desktop/src/components/pet/floating-pet.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src/components/pet/floating-pet.tsx b/apps/desktop/src/components/pet/floating-pet.tsx index 67872c6a47997..70350ec8c99b4 100644 --- a/apps/desktop/src/components/pet/floating-pet.tsx +++ b/apps/desktop/src/components/pet/floating-pet.tsx @@ -145,7 +145,7 @@ export function FloatingPet() { // pet.changed already carries the meta payload — an enabled=false // broadcast clears the mascot with zero round-trips, and an unchanged // revision (scale-only move still changes the sig) short-circuits below - // via samePetRevision. + // via hasPetSpriteForMeta + mergePetInfoMeta. if (changeEventsAvailable && petChange.tick > 0 && petChange.meta?.enabled === false) { setPetInfo({ enabled: false })