fix(community): add string type annotation for tag parameter
This commit is contained in:
@@ -484,7 +484,7 @@ export default function Community() {
|
|||||||
|
|
||||||
{/* Tags Inline */}
|
{/* Tags Inline */}
|
||||||
<div className="flex items-center gap-1 flex-wrap pl-1 border-l border-slate-100">
|
<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
|
<span
|
||||||
key={tag}
|
key={tag}
|
||||||
onClick={(e) => { e.stopPropagation(); setSearchQuery(tag); }}
|
onClick={(e) => { e.stopPropagation(); setSearchQuery(tag); }}
|
||||||
|
|||||||
Reference in New Issue
Block a user