File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ function UserTagVerticalList({
28
28
< Link to = { `/@${ username } ` } > 전체보기</ Link >
29
29
< span > ({ postsCount } )</ span >
30
30
</ ListItem >
31
- { tags . map ( tag => (
31
+ { tags . map ( ( tag ) => (
32
32
< ListItem active = { active === escapeForUrl ( tag . name ) } key = { tag . id } >
33
- < Link to = { `@${ username } ?tag=${ escapeForUrl ( tag . name ) } ` } >
33
+ < Link to = { `/ @${ username } ?tag=${ escapeForUrl ( tag . name ) } ` } >
34
34
{ tag . name }
35
35
</ Link >
36
36
< span > ({ tag . posts_count } )</ span >
@@ -69,7 +69,7 @@ const ListItem = styled.li<{ active?: boolean }>`
69
69
text-decoration: none;
70
70
&:hover {
71
71
color: ${ palette . gray9 } ;
72
- ${ props =>
72
+ ${ ( props ) =>
73
73
props . active &&
74
74
`
75
75
color: ${ palette . teal5 } ;
@@ -81,7 +81,7 @@ const ListItem = styled.li<{ active?: boolean }>`
81
81
}
82
82
}
83
83
84
- ${ props =>
84
+ ${ ( props ) =>
85
85
props . active &&
86
86
`
87
87
color: ${ palette . teal5 } ;
You can’t perform that action at this time.
0 commit comments