From 4e651af16fa544d1c1a381cc1b8380256f05f973 Mon Sep 17 00:00:00 2001 From: matthewp Date: Wed, 2 Aug 2023 17:10:18 +0000 Subject: [PATCH] [ci] format --- packages/astro/components/ViewTransitions.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });