queryLength() and isEmptyQuery() returning incorrect values
Closed this issue · 4 comments
Example: https://codesandbox.io/s/1wzz6nr0j4?fontsize=14
queryLength is not searching the query, but is searching the whole URL object instead. This is also causing isEmptyQuery to return an incorrect value.
This should be an easy fix, but I wanted to confirm that this is indeed a bug before going ahead and making a PR for it.
This definitely seems to be a bug as I can see it. I'd be very appreciated for PR if you can do that. Thank you for contributing!
@Mikhus Thanks for confirming. I will definitely open a PR for it!
Thank you @dudeOFprosper !
Seems now it looks fixed. New version 2.1.11 is published. Could you, please, verify and close this issue if everything is OK?
It has been fixed @Mikhus! Thanks for double checking it for me and the quick replies.