router string search query with quotes
when i click the url i get
http://localhost:3000/messages?profile="1939488594" when i want http://localhost:3000/messages?profile=1939488594.
how do i get this without the quotes?
4 Replies
uncomfortable-black•5d ago
don't use a string then?
rival-blackOP•5d ago
it works differently.
when i do this
the value of the tab which is a string doesnt have the quotes.
so it works differently
i get localhost/jobs?tab=all or localhost/jobs?tab=active
uncomfortable-black•5d ago
well the number is treated as a string and in order to keep the type as a string it has quotes added
rival-blackOP•5d ago
okay. thank you so for the clarification. i get it now.
i will use a number instead of a string then