@@ -21,41 +21,43 @@ const LearnerCard = ({ learner }) => {
21
21
} ) ( ) ;
22
22
23
23
return (
24
- < Link
25
- className = "discussion-post p-0 text-decoration-none text-gray-900 border-bottom border-light-400"
26
- to = { linkUrl }
27
- >
28
- < div
29
- className = "d-flex flex-row flex-fill mw-100 py-3 px-4 border-primary-500"
30
- style = { username === learnerUsername ? {
31
- borderRightWidth : '4px' ,
32
- borderRightStyle : 'solid' ,
33
- } : null }
24
+ < li >
25
+ < Link
26
+ className = "discussion-post p-0 text-decoration-none text-gray-900 border-bottom border-light-400"
27
+ to = { linkUrl }
34
28
>
35
- < LearnerAvatar username = { username } />
36
- < div className = "d-flex flex-column flex-fill" style = { { minWidth : 0 } } >
37
- < div className = "d-flex flex-column justify-content-start mw-100 flex-fill" >
38
- < div className = "d-flex align-items-center flex-fill" >
39
- < div
40
- className = "text-truncate font-weight-500 text-primary-500 font-style"
41
- >
42
- { username }
29
+ < div
30
+ className = "d-flex flex-row flex-fill mw-100 py-3 px-4 border-primary-500"
31
+ style = { username === learnerUsername ? {
32
+ borderRightWidth : '4px' ,
33
+ borderRightStyle : 'solid' ,
34
+ } : null }
35
+ >
36
+ < LearnerAvatar username = { username } />
37
+ < div className = "d-flex flex-column flex-fill" style = { { minWidth : 0 } } >
38
+ < div className = "d-flex flex-column justify-content-start mw-100 flex-fill" >
39
+ < div className = "d-flex align-items-center flex-fill" >
40
+ < div
41
+ className = "text-truncate font-weight-500 text-primary-500 font-style"
42
+ >
43
+ { username }
44
+ </ div >
43
45
</ div >
46
+ { threads !== null && (
47
+ < LearnerFooter
48
+ inactiveFlags = { inactiveFlags }
49
+ activeFlags = { activeFlags }
50
+ threads = { threads }
51
+ responses = { responses }
52
+ replies = { replies }
53
+ username = { username }
54
+ />
55
+ ) }
44
56
</ div >
45
- { threads !== null && (
46
- < LearnerFooter
47
- inactiveFlags = { inactiveFlags }
48
- activeFlags = { activeFlags }
49
- threads = { threads }
50
- responses = { responses }
51
- replies = { replies }
52
- username = { username }
53
- />
54
- ) }
55
57
</ div >
56
58
</ div >
57
- </ div >
58
- </ Link >
59
+ </ Link >
60
+ </ li >
59
61
) ;
60
62
} ;
61
63
0 commit comments