From 7e2d412869449e25f900feb8c013d99f6561657a Mon Sep 17 00:00:00 2001 From: Gigi Date: Wed, 8 Oct 2025 11:39:50 +0100 Subject: [PATCH] refactor: swap refresh and profile button positions in toolbar - Move profile avatar before refresh button - New order: Home, Add, Profile, Refresh, Settings, Logout/Login - Improves toolbar organization and button flow --- src/components/SidebarHeader.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/SidebarHeader.tsx b/src/components/SidebarHeader.tsx index bb5b568c..cbb97558 100644 --- a/src/components/SidebarHeader.tsx +++ b/src/components/SidebarHeader.tsx @@ -98,6 +98,18 @@ const SidebarHeader: React.FC = ({ onToggleCollapse, onLogou variant="ghost" /> )} +
{} : handleLogin) : undefined} + style={{ cursor: !activeAccount ? 'pointer' : 'default' }} + > + {profileImage ? ( + {getUserDisplayName()} + ) : ( + + )} +
{onRefresh && ( = ({ onToggleCollapse, onLogou ariaLabel="Settings" variant="ghost" /> -
{} : handleLogin) : undefined} - style={{ cursor: !activeAccount ? 'pointer' : 'default' }} - > - {profileImage ? ( - {getUserDisplayName()} - ) : ( - - )} -
{activeAccount ? (