@@ -5,7 +5,7 @@ import DialogContent from '@mui/material/DialogContent';
5
5
import DialogTitle from '@mui/material/DialogTitle' ;
6
6
import DialogActions from '@mui/material/DialogActions' ;
7
7
import List from '@mui/material/List' ;
8
- import ListItem from '@mui/material/ListItem ' ;
8
+ import ListItemButton from '@mui/material/ListItemButton ' ;
9
9
import ListItemText from '@mui/material/ListItemText' ;
10
10
import ListItemAvatar from '@mui/material/ListItemAvatar' ;
11
11
import Divider from '@mui/material/Divider' ;
@@ -38,8 +38,8 @@ const MemberList = ({ members, open, onClose }) => {
38
38
< List sx = { { width : '100%' , bgcolor : 'surface.n92' , p : 0 , maxHeight : 700 } } >
39
39
{
40
40
map ( members , ( member , i ) => (
41
- < React . Fragment >
42
- < ListItem alignItems = "flex-start" key = { member . url } sx = { { padding : '8px 24px 8px 16px' } } >
41
+ < React . Fragment key = { i } >
42
+ < ListItemButton component = 'a' className = 'no-anchor-styles' alignItems = "flex-start" key = { member . url } sx = { { padding : '8px 24px 8px 16px' , cursor : 'pointer' } } href = { `# ${ member . url } ` } >
43
43
< ListItemAvatar sx = { { marginTop : '4px' , minWidth : 'auto' , mr : 2 } } >
44
44
< UserIcon user = { member } sx = { { width : '40px' , height : '40px' } } />
45
45
</ ListItemAvatar >
@@ -51,7 +51,7 @@ const MemberList = ({ members, open, onClose }) => {
51
51
primary = { member . name }
52
52
secondary = { member . company }
53
53
/>
54
- </ ListItem >
54
+ </ ListItemButton >
55
55
{
56
56
i !== members . length - 1 &&
57
57
< Divider component = "li" />
0 commit comments