Renamed accountsSearchText and debounceAccountsSearchText to searchText and debounceTrimmedSearchText respectively, in order to use them commonly in both the Contacts tab and My Account tab without declaring additional state variables.
Modified searchText to apply trimming when debounce is applied, eliminating the need to call a separate trim method.
In the Contacts tab, added logic so that when a search term is entered, the datas value is calculated to return wallet names or addresses that include the search term regardless of case (since EVM addresses may contain uppercase letters).
Changes:
accountsSearchText
anddebounceAccountsSearchText
tosearchText
anddebounceTrimmedSearchText
respectively, in order to use them commonly in both the Contacts tab and My Account tab without declaring additional state variables.searchText
to apply trimming when debounce is applied, eliminating the need to call a separate trim method.