From a42b1ac86c2c8d55398b341941b5b324399c2f67 Mon Sep 17 00:00:00 2001 From: Laurent Caouissin Date: Thu, 2 Nov 2023 17:32:44 +0100 Subject: [PATCH] chore: remove useless Fragment --- .../componentDisplayer/component.js | 32 +++++++++---------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/queen-v2/src/components/lightOrchestrator/componentDisplayer/component.js b/queen-v2/src/components/lightOrchestrator/componentDisplayer/component.js index 9cd6f674..e67c4862 100644 --- a/queen-v2/src/components/lightOrchestrator/componentDisplayer/component.js +++ b/queen-v2/src/components/lightOrchestrator/componentDisplayer/component.js @@ -5,22 +5,20 @@ import { useCustomLunaticStyles } from 'components/lightOrchestrator/lunaticStyl export const ComponentDisplayer = ({ components, readonly, pageTag }) => { const lunaticClasses = useCustomLunaticStyles(); return ( - <> - ({ - filterDescription: false, - disabled: readonly, - readOnly: readonly, - shortcut: true, - })} - wrapper={({ children, id, componentType }) => ( -
- {children} -
- )} - /> - + ({ + filterDescription: false, + disabled: readonly, + readOnly: readonly, + shortcut: true, + })} + wrapper={({ children, id, componentType }) => ( +
+ {children} +
+ )} + /> ); };