Updated segment handling.

This commit is contained in:
Mike Cao committed 2025-07-31 02:33:35 -07:00
1 parent 554c627a58
commit fba7e12c36
13 files changed
+59 -90

No files matched your search

@@ -1,3 +0,0 @@
import GoalsPage from './goals/page';
export default GoalsPage;
@@ -32,7 +32,7 @@ export function WebsiteFilterButton({
{},
);
const url = replaceParams({ ...params, segment: segment?.id });
const url = replaceParams({ ...params, segment });
router.push(url);
};