add onclick to avatar

This commit is contained in:
Alex Holliday committed 2025-08-01 15:58:01 -07:00
1 parent 7900e1104f
commit 521c6988a5
2 files changed
+10 -2

No files matched your search

@@ -100,7 +100,13 @@ const AuthFooter = ({ collapsed, accountMenuItems }) => {
borderRadius={theme.shape.borderRadius}
boxSizing={"border-box"}
>
<Avatar small={true} />
<Avatar
small={true}
onClick={(e) => collapsed && openPopup(e)}
sx={{
cursor: collapsed ? "pointer" : "default",
}}
/>
<Stack
direction={"row"}