summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2023-08-02 17:10:18 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-08-02 17:10:18 +0000
commit4e651af16fa544d1c1a381cc1b8380256f05f973 (patch)
treef58794a6fd0ac5ffecf159a44552131dcc7e742e
parentc264be3497db4aa8b3bcce0d2f79a26e35b8e91e (diff)
downloadastro-4e651af16fa544d1c1a381cc1b8380256f05f973.tar.gz
astro-4e651af16fa544d1c1a381cc1b8380256f05f973.tar.zst
astro-4e651af16fa544d1c1a381cc1b8380256f05f973.zip
[ci] format
-rw-r--r--packages/astro/components/ViewTransitions.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/components/ViewTransitions.astro b/packages/astro/components/ViewTransitions.astro
index d96a85181..7197674db 100644
--- a/packages/astro/components/ViewTransitions.astro
+++ b/packages/astro/components/ViewTransitions.astro
@@ -187,7 +187,7 @@ const { fallback = 'animate' } = Astro.props as Props;
transitionEnabledOnThisPage()
) {
ev.preventDefault();
- navigate('forward', link.href, { index:currentHistoryIndex, scrollY:0 });
+ navigate('forward', link.href, { index: currentHistoryIndex, scrollY: 0 });
currentHistoryIndex++;
const newState: State = { index: currentHistoryIndex, scrollY };
persistState({ index: currentHistoryIndex - 1, scrollY });