From b695cd6014add1db847dba181d810ecda533ba97 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 13 Jul 2024 18:38:26 +0300 Subject: [PATCH] refactor: Update ActionsGroup component to improve readability and maintainability --- .../components/common/ActionsGroup.js | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/frontend/src/features/machines/components/common/ActionsGroup.js b/frontend/src/features/machines/components/common/ActionsGroup.js index 3351ecb..48cad5f 100644 --- a/frontend/src/features/machines/components/common/ActionsGroup.js +++ b/frontend/src/features/machines/components/common/ActionsGroup.js @@ -27,25 +27,26 @@ const ActionsGroup = ({ machine, actions, addLog }) => { return ( <> - - {mainActions.map(action => ( +
+ + {mainActions.map(action => ( + + ))} - ))} - - +