fix(pet): restore prettier formatting in the sprite error branch
Commit41592e2shortened the localized fallback string but left the ternary wrapped across three lines, which prettier now collapses. This file passed `prettier --check` at785f125and failed afterwards, so it is the only formatting regression introduced by the R1/R2 batch. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
这个提交存在于:
父节点
573f9f793b
当前提交
5ecfaa433b
共有 1 个文件被更改,包括 1 次插入 和 3 次删除
|
|
@ -189,9 +189,7 @@ export function DesktopPetView({ embedded = false }: { embedded?: boolean }) {
|
|||
);
|
||||
} catch (reason) {
|
||||
setSpriteError(
|
||||
reason instanceof Error
|
||||
? reason.message
|
||||
: "桌宠精灵图绘制失败。",
|
||||
reason instanceof Error ? reason.message : "桌宠精灵图绘制失败。",
|
||||
);
|
||||
}
|
||||
}, [frameColumn, frameRow, spriteReady]);
|
||||
|
|
|
|||
正在加载…
添加表格
在新工单中引用