fix bugging lists on navigation
This commit is contained in:
@@ -32,9 +32,6 @@ export default React.memo((props) => {
|
||||
if (list.open === true) {
|
||||
setHeight(0.5)
|
||||
}
|
||||
if (list.open === true && filteredItems.length === 0) {
|
||||
setHeight(0.5)
|
||||
}
|
||||
}, [list.open]);
|
||||
// if item is added or removed
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user