function useSearchParams() actually it works correctly. Because this function runs on the client, you should set a log and then go to the browser to see the parameter changes. If you look in the console, it won't print