add onclick to avatar
This commit is contained in:
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"}
|
||||
|
||||
Reference in new issue
Block a user