From c49f57a1b48ca2b2fd8fbf15b0c7caf19f0df90f Mon Sep 17 00:00:00 2001 From: Mathieu Acthernoene Date: Fri, 10 Jan 2025 15:34:01 +0100 Subject: [PATCH] Enable noUselessFragments --- biome.json | 1 - .../src/pages/AccountActivationPage.tsx | 23 ++++++++----------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/biome.json b/biome.json index 54ff06afb..339fc0ed1 100644 --- a/biome.json +++ b/biome.json @@ -31,7 +31,6 @@ "noForEach": "off", "useLiteralKeys": "off", - "noUselessFragments": "off", "noExtraBooleanCast": "off", "noUselessTernary": "off" }, diff --git a/clients/banking/src/pages/AccountActivationPage.tsx b/clients/banking/src/pages/AccountActivationPage.tsx index cb4d404ae..785174285 100644 --- a/clients/banking/src/pages/AccountActivationPage.tsx +++ b/clients/banking/src/pages/AccountActivationPage.tsx @@ -880,19 +880,16 @@ export const AccountActivationPage = ({ )} - {isNotNullish(content) && ( - <> - {large ? ( - <> - - - {content} - - ) : ( - {content} - )} - - )} + {isNotNullish(content) && + (large ? ( + <> + + + {content} + + ) : ( + {content} + ))} ); }}