Add React key prop to homepage filter widget (#661)

This commit is contained in:
Marshall Polaris 2022-07-18 16:37:46 -07:00 committed by GitHub
parent 61a21d34b2
commit f2a7a145e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>
)