title: remove specific query string react-router-dom v6
body: <p>Hi I have an array of a query string with the same key and I wanna remove one of them:</p>
  <p><code>https://example.com/something?orderby=date&amp;orderby=price&amp;orderby=amount</code></p>
  <pre class="lang-js prettyprint-override"><code>  const [searchParams, setSearchParams] = useSearchParams();
    let udpatedSearchParams = new URLSearchParams(searchParams.toString());
  
    const remove = (key) =&gt; {
      udpatedSearchParams.delete(key);
      setSearchParams(udpatedSearchParams.toString());
    };
  
  remove(&quot;orderby&quot;) // =&gt; https://example.com/something?
  
  </code></pre>
  <p>but I wanna this:</p>
  <pre class="lang-js prettyprint-override"><code>remove(&quot;orderby&quot;,&quot;amount&quot;) // =&gt; https://example.com/something?orderby=date&amp;orderby=price
  
  </code></pre>