Product page doesn't refresh when the query changes in the URL

Hello,

If I’m already on the products page, eg. /products?Category=Dining and I click on a link where the search is different, eg. /products?Category=Decor nothing will happen. Is there any way to fix this?