Skip to content

Commit

Permalink
Enable noUselessFragments
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Jan 10, 2025
1 parent 8b1f56e commit c49f57a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
1 change: 0 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"noForEach": "off",
"useLiteralKeys": "off",

"noUselessFragments": "off",
"noExtraBooleanCast": "off",
"noUselessTernary": "off"
},
Expand Down
23 changes: 10 additions & 13 deletions clients/banking/src/pages/AccountActivationPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -880,19 +880,16 @@ export const AccountActivationPage = ({
)}
</ScrollView>

{isNotNullish(content) && (
<>
{large ? (
<>
<Separator horizontal={true} />

{content}
</>
) : (
<FullViewportLayer visible={contentVisible}>{content}</FullViewportLayer>
)}
</>
)}
{isNotNullish(content) &&
(large ? (
<>
<Separator horizontal={true} />

{content}
</>
) : (
<FullViewportLayer visible={contentVisible}>{content}</FullViewportLayer>
))}
</Box>
);
}}
Expand Down

0 comments on commit c49f57a

Please sign in to comment.