From e97119802f0695bb18e8ff265feff31100a32ec1 Mon Sep 17 00:00:00 2001 From: arlo Date: Tue, 7 Jan 2025 21:30:43 +0800 Subject: [PATCH] chore: fix lint --- 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()