change to pathname and params

This commit is contained in:
IO420
2025-09-29 19:57:02 -06:00
parent 88eb4d6e54
commit 68d9dc97c1
18 changed files with 89 additions and 49 deletions
@@ -8,6 +8,7 @@ interface ClearParamsProps {
export default function ClearParams({ paramsToClear }: ClearParamsProps) {
useEffect(() => {
if (typeof window === "undefined") return;
const url = new URL(window.location.href);
let changed = false;