fix: some duplications and tags

This commit is contained in:
Mahyar Khanbolooki
2025-07-19 18:57:50 +03:30
parent 08a5640016
commit 902623e196
15 changed files with 291 additions and 323 deletions
+6 -6
View File
@@ -23,17 +23,17 @@ function Comment({ user, rating, date, text, tags, className = '' }: Props) {
<span className='ms-3 text-sm2'>{date}</span>
</div>
<div className='text-xs mt-3'>
<p className='text-xs mt-3'>
{text}
</div>
</p>
<div className='mt-3 flex flex-wrap items-center justify-start gap-2'>
<ul className='mt-3 flex flex-wrap items-center justify-start gap-2'>
{tags.map((v, i) => (
<div key={i} className='text-xs py-1.5 px-3 bg-[#F2F2F2] rounded-sm text-center'>
<li key={i} className='text-xs py-1.5 px-3 bg-[#F2F2F2] rounded-sm text-center'>
{v}
</div>
</li>
))}
</div>
</ul>
</div>
)
}