🐛(react) fix isActive console warning
Previously when interacting with a select, the list items were triggering a warning.
This commit is contained in:
5
.changeset/metal-bags-wink.md
Normal file
5
.changeset/metal-bags-wink.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@openfun/cunningham-react": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix isActive console warning
|
||||||
@@ -195,7 +195,6 @@ export const SelectMonoAux = ({
|
|||||||
{...downshiftReturn.getItemProps({
|
{...downshiftReturn.getItemProps({
|
||||||
item,
|
item,
|
||||||
index,
|
index,
|
||||||
isActive,
|
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<span>{item.label}</span>
|
<span>{item.label}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user