From b3430bbedbbd9b01fe0c17fc80000fd878eddc9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Wed, 11 Mar 2026 22:21:50 +0100 Subject: [PATCH] nicolium: reduce nesting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- .../src/components/accounts/account.tsx | 44 +++++++++---------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/packages/nicolium/src/components/accounts/account.tsx b/packages/nicolium/src/components/accounts/account.tsx index 61775b6b5..e1cfb1056 100644 --- a/packages/nicolium/src/components/accounts/account.tsx +++ b/packages/nicolium/src/components/accounts/account.tsx @@ -305,33 +305,31 @@ const Account = ({ )} - -
- - @{username} - +
+ + @{username} + - {withLocked && !timestamp && account.locked && ( - <> - + {withLocked && !timestamp && account.locked && ( + <> + - {account.favicon && !disableUserProvidedMedia && ( - - )} - - )} + {account.favicon && !disableUserProvidedMedia && ( + + )} + + )} - {account.favicon && !disableUserProvidedMedia && ( - - )} + {account.favicon && !disableUserProvidedMedia && ( + + )} - {items} -
- + {items} +