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