Add item key (#6089)

- Adds "key" to FilterItem component
This commit is contained in:
Oliver 2023-12-15 09:01:56 +11:00 committed by GitHub
parent aecdc0739d
commit 2aa993bcf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ export function FilterSelectDrawer({
>
<Stack spacing="xs">
{tableState.activeFilters.map((f) => (
<FilterItem flt={f} tableState={tableState} />
<FilterItem key={f.name} flt={f} tableState={tableState} />
))}
{tableState.activeFilters.length > 0 && <Divider />}
{addFilter && (