mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 12:07:09 +00:00
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…
x
Reference in New Issue
Block a user