File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ export default function Profile() {
177
177
)
178
178
) }
179
179
</ div >
180
- { profile . followedTags && (
180
+ { profile . followedTags && profile . followedTags . length > 0 ? (
181
181
< div className = "flex flex-col" >
182
182
< div className = "flex flex-wrap gap-2" >
183
183
< span className = "flex items-center gap-2" >
@@ -189,13 +189,14 @@ export default function Profile() {
189
189
</ Link >
190
190
) )
191
191
. slice ( 0 , 3 ) }
192
- { profile . followedTags ?. length &&
193
- profile . followedTags ?. length > 3 && (
194
- < span > + { profile . followedTags ?. length - 3 } more</ span >
195
- ) }
192
+ { profile . followedTags ?. length > 3 && (
193
+ < span > + { profile . followedTags ?. length - 3 } more</ span >
194
+ ) }
196
195
</ span >
197
196
</ div >
198
197
</ div >
198
+ ) : (
199
+ < div > No followed tags to show.</ div >
199
200
) }
200
201
</ div >
201
202
< div className = "mt-4 flex flex-col gap-4 px-4 py-2" >
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ export default function TagPage() {
114
114
src = { tag ?. logoImage || "https://placehold.co/400x300" }
115
115
alt = { `${ tag . name } logo` }
116
116
title = { `alt:The logo image of ${ tag . name } ` }
117
- className = "h-48 w-full rounded-3xl object-contain lg:h-96 "
117
+ className = "h-20 w-full rounded-3xl object-contain lg:h-40 "
118
118
/>
119
119
) }
120
120
< div className = "mb-4 flex items-center justify-between px-1" >
You can’t perform that action at this time.
0 commit comments