mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 15:30:39 +00:00
style: oxfmt for agent-components
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user