style: oxfmt for agent-components

This commit is contained in:
李肖然
2026-02-28 21:06:27 +08:00
committed by Peter Steinberger
parent e95f96f77a
commit c14c17403e

View File

@@ -441,11 +441,7 @@ function parseAgentComponentData(data: ComponentData): {
};
const componentId =
typeof raw === "string"
? decodeSafe(raw)
: typeof raw === "number"
? String(raw)
: null;
typeof raw === "string" ? decodeSafe(raw) : typeof raw === "number" ? String(raw) : null;
if (!componentId) {
return null;