From 0f1668ef76a4401d1d799647199c1a8337c1747c Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Sat, 12 Sep 2026 02:33:53 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#108753) Co-authored-by: github-actions[bot] --- apps/desktop/src/plugins/hermes-bots/pet.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/apps/desktop/src/plugins/hermes-bots/pet.tsx b/apps/desktop/src/plugins/hermes-bots/pet.tsx index dbbfe1bc91..817b4662ba 100644 --- a/apps/desktop/src/plugins/hermes-bots/pet.tsx +++ b/apps/desktop/src/plugins/hermes-bots/pet.tsx @@ -48,16 +48,15 @@ function petThumbIcon(slug: string, spriteUrl: null | string | undefined): Promi .then(result => (result?.ok && result.dataUri ? result.dataUri : null)) .catch(() => null), deadline - ]) - .then(icon => { - // Never cache a failure: a transient backend error must not poison - // the tile for the rest of the session. - if (!icon) { - petThumbCache.delete(slug) - } + ]).then(icon => { + // Never cache a failure: a transient backend error must not poison + // the tile for the rest of the session. + if (!icon) { + petThumbCache.delete(slug) + } - return icon - }) + return icon + }) petThumbCache.set(slug, pending) }