Updated segment handling.

This commit is contained in:
Mike Cao 2025-07-31 02:33:35 -07:00
parent 554c627a58
commit fba7e12c36
13 changed files with 59 additions and 90 deletions

View file

@ -1,3 +0,0 @@
import GoalsPage from './goals/page';
export default GoalsPage;

View file

@ -32,7 +32,7 @@ export function WebsiteFilterButton({
{},
);
const url = replaceParams({ ...params, segment: segment?.id });
const url = replaceParams({ ...params, segment });
router.push(url);
};