Add React key prop to homepage filter widget (#661)
This commit is contained in:
parent
61a21d34b2
commit
f2a7a145e4
|
@ -188,7 +188,11 @@ export function ContractSearch(props: {
|
|||
<Row className="gap-2">
|
||||
{toPairs<filter>(filterOptions).map(([label, f]) => {
|
||||
return (
|
||||
<PillButton selected={filter === f} onSelect={() => setFilter(f)}>
|
||||
<PillButton
|
||||
key={f}
|
||||
selected={filter === f}
|
||||
onSelect={() => setFilter(f)}
|
||||
>
|
||||
{label}
|
||||
</PillButton>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user