remove query string from url react