properly update method selected
This commit is contained in:
parent
45bbbc9967
commit
420b9cb58e
|
@ -44,7 +44,7 @@ const MethodsDropdown = ({ onChange }) => {
|
||||||
}
|
}
|
||||||
}, [abi])
|
}, [abi])
|
||||||
|
|
||||||
React.useMemo(() => {
|
React.useEffect(() => {
|
||||||
setMethodsListFiltered(methodsList.filter(({ name }) => name.toLowerCase().includes(searchParams.toLowerCase())))
|
setMethodsListFiltered(methodsList.filter(({ name }) => name.toLowerCase().includes(searchParams.toLowerCase())))
|
||||||
}, [methodsList, searchParams])
|
}, [methodsList, searchParams])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue