diff --git a/src/components/layout/TransitionWrapper.astro b/src/components/layout/TransitionWrapper.astro index 5863793..513401e 100644 --- a/src/components/layout/TransitionWrapper.astro +++ b/src/components/layout/TransitionWrapper.astro @@ -3,11 +3,10 @@ import type { TransitionProps } from '@/types' type Props = TransitionProps -const { type, class: className = '' } = Astro.props -const transitionName = type === 'post' ? 'post-content' : 'page-content' +const { class: className = '' } = Astro.props --- -
+
@@ -31,13 +30,11 @@ const transitionName = type === 'post' ? 'post-content' : 'page-content'