From eaa52bb4148b9b9d316f4bc32fbf2bd6a86834f0 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 13 Dec 2024 06:59:17 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- packages/devtools-kit/src/ctx/state.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/devtools-kit/src/ctx/state.ts b/packages/devtools-kit/src/ctx/state.ts index e5480ced9..70b48109f 100644 --- a/packages/devtools-kit/src/ctx/state.ts +++ b/packages/devtools-kit/src/ctx/state.ts @@ -210,9 +210,9 @@ export function addCustomCommand(action: CustomCommand) { icon: resolveIcon(action.icon), children: action.children ? action.children.map((child: CustomCommand) => ({ - ...child, - icon: resolveIcon(child.icon), - })) + ...child, + icon: resolveIcon(child.icon), + })) : undefined, }) updateAllStates()