teloscan icon indicating copy to clipboard operation
teloscan copied to clipboard

Trim strings on search bar befor performing the query

Open Viterbo opened this issue 10 months ago • 0 comments

Fixed here: https://github.com/telosnetwork/teloscan/pull/988

Describe the bug If the user accidentally introduces a space after the string to search, the query returns no results. However, if you remove that space it works perfectly

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.teloscan.io/
  2. Enter the following text on the search bar: "USDT " (with a final space)
  3. See no results

Expected behavior The component should trim() the string before performing the query

Screenshots Image

Viterbo avatar Feb 24 '25 15:02 Viterbo