Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
webfansplz committed Jan 7, 2025
1 parent 389500e commit e971198
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/devtools-kit/src/ctx/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e971198

Please sign in to comment.