fix: some duplications and tags
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user