Updated segment handling.
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user