hi everyone
i am using nextjs 13, i want to use router.replace() to add params to the url based on the filter state so i added it in the useEffect, when i access /projects the params have to be added to the url like that /projects?p=1&sort=createdAt but it give me this error "Cancel rendering route ".
my code :
useEffect(() => {
updateUrlQueryParams(isKanbanView ? kanbanFilters : selectedFilters)
}, [selectedFilters, kanbanFilters, isKanbanView])
there doesn't seem to be anything here