From 795f8208fa6b58396b0d630a0ce1a2082c6ef121 Mon Sep 17 00:00:00 2001 From: Paschalis Economou Date: Sat, 27 Apr 2024 20:05:58 +0200 Subject: [PATCH] chore: formatted code --- components/lib/menu/Menu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/menu/Menu.js b/components/lib/menu/Menu.js index 11aa81ae7d..ace9b032e8 100644 --- a/components/lib/menu/Menu.js +++ b/components/lib/menu/Menu.js @@ -332,8 +332,8 @@ export const Menu = React.memo( if (item.visible === false) { return null; } - - const menuContext = {item, index, parentId} + + const menuContext = { item, index, parentId }; const linkClassName = classNames('p-menuitem-link', { 'p-disabled': item.disabled }); const iconClassName = classNames('p-menuitem-icon', item.icon); const iconProps = mergeProps(