fix(community): add string type annotation for tag parameter

This commit is contained in:
Amudieshwar A G
2026-07-23 22:41:45 +05:30
parent 975c2ab16e
commit ef84d2c33a

View File

@@ -484,7 +484,7 @@ export default function Community() {
{/* Tags Inline */}
<div className="flex items-center gap-1 flex-wrap pl-1 border-l border-slate-100">
{(q.tags || []).map((tag) => (
{(q.tags || []).map((tag: string) => (
<span
key={tag}
onClick={(e) => { e.stopPropagation(); setSearchQuery(tag); }}