mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
c264be3497
commit
4e651af16f
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ const { fallback = 'animate' } = Astro.props as Props;
|
||||||
transitionEnabledOnThisPage()
|
transitionEnabledOnThisPage()
|
||||||
) {
|
) {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
navigate('forward', link.href, { index:currentHistoryIndex, scrollY:0 });
|
navigate('forward', link.href, { index: currentHistoryIndex, scrollY: 0 });
|
||||||
currentHistoryIndex++;
|
currentHistoryIndex++;
|
||||||
const newState: State = { index: currentHistoryIndex, scrollY };
|
const newState: State = { index: currentHistoryIndex, scrollY };
|
||||||
persistState({ index: currentHistoryIndex - 1, scrollY });
|
persistState({ index: currentHistoryIndex - 1, scrollY });
|
||||||
|
|
Loading…
Reference in a new issue