From aca0f56dfed964dc7a770c48be538eb48798e82a Mon Sep 17 00:00:00 2001 From: ajnart <49837342+ajnart@users.noreply.github.com> Date: Tue, 30 Jun 2026 15:28:11 +0000 Subject: [PATCH] style: auto-fix lint and format --- .../components/board/items/widget-context-menu.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/nextjs/src/components/board/items/widget-context-menu.tsx b/apps/nextjs/src/components/board/items/widget-context-menu.tsx index 3285174d8..349cf87e4 100644 --- a/apps/nextjs/src/components/board/items/widget-context-menu.tsx +++ b/apps/nextjs/src/components/board/items/widget-context-menu.tsx @@ -97,7 +97,12 @@ export const WidgetContextMenu = ({ item, widgetStateRef, children }: WidgetCont board.items.map((boardItem) => boardItem.id !== item.id ? boardItem - : { ...boardItem, options: editResult.options, advancedOptions: editResult.advancedOptions, integrationIds: editResult.integrationIds }, + : { + ...boardItem, + options: editResult.options, + advancedOptions: editResult.advancedOptions, + integrationIds: editResult.integrationIds, + }, ), ); } @@ -133,9 +138,7 @@ export const WidgetContextMenu = ({ item, widgetStateRef, children }: WidgetCont const newOptions = { ...options, [key]: checked }; updateItemOptions({ itemId: item.id, newOptions }); persistBoard( - board.items.map((boardItem) => - boardItem.id !== item.id ? boardItem : { ...boardItem, options: newOptions }, - ), + board.items.map((boardItem) => (boardItem.id !== item.id ? boardItem : { ...boardItem, options: newOptions })), ); }, [options, item.id, updateItemOptions, persistBoard, board],