Fix post merge revamp navigation bar (#6297)

Closes #6285 

@charlesBochet Also added some more utils for our component state v2.
This commit is contained in:
Lucas Bordeau
2024-07-19 14:24:47 +02:00
committed by GitHub
parent 67e2d5c73a
commit 1b0759ef2f
31 changed files with 1197 additions and 230 deletions

View File

@ -7,6 +7,7 @@ import { scrollPositionState } from '@/ui/utilities/scroll/states/scrollPosition
import { isDefined } from '~/utils/isDefined';
/**
* @deprecated We should now use useScrollToPosition instead
* Note that `location.key` is used in the cache key, not `location.pathname`,
* so the same path navigated to at different points in the history stack will
* not share the same scroll position.