fix(landing-page): prevent scroll reset when closing mobile header and tiers modal

This commit is contained in:
Baptiste Arnaud 2025-01-24 10:43:46 +01:00
parent 158a2f7b11
commit 22f9a5cefa
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ function RootComponent() {
const closeHeader = () => {
navigate({
search: { isHeaderOpened: undefined },
resetScroll: false,
});
};

View File

@ -45,6 +45,7 @@ function RouteComponent() {
const closeTiersDialog = () => {
navigate({
search: { isTiersModalOpened: undefined },
resetScroll: false,
});
};