diff options
author | 2023-08-02 17:10:18 +0000 | |
---|---|---|
committer | 2023-08-02 17:10:18 +0000 | |
commit | 4e651af16fa544d1c1a381cc1b8380256f05f973 (patch) | |
tree | f58794a6fd0ac5ffecf159a44552131dcc7e742e | |
parent | c264be3497db4aa8b3bcce0d2f79a26e35b8e91e (diff) | |
download | astro-4e651af16fa544d1c1a381cc1b8380256f05f973.tar.gz astro-4e651af16fa544d1c1a381cc1b8380256f05f973.tar.zst astro-4e651af16fa544d1c1a381cc1b8380256f05f973.zip |
[ci] format
-rw-r--r-- | packages/astro/components/ViewTransitions.astro | 2 |
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 }); |