From 3ef09acbfb5d2a29faebadf0846b858f5de21654 Mon Sep 17 00:00:00 2001 From: ukorvl Date: Sat, 5 Aug 2023 00:21:00 +0400 Subject: [PATCH] remove page transition animation #1 --- app/template.tsx | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/app/template.tsx b/app/template.tsx index 7116f61..8a6b968 100644 --- a/app/template.tsx +++ b/app/template.tsx @@ -1,6 +1,6 @@ 'use client'; -import {LazyMotion, AnimatePresence, m} from 'framer-motion'; +import {LazyMotion} from 'framer-motion'; import {LocationChangeTracker} from '@/lib/gtag/LocationChangeTracker'; import useDynamicFavicon from '@/lib/dynamicFavicon/useDynamicFavicon'; import TopMenu from '@/components/TopMenu/TopMenu'; @@ -24,21 +24,7 @@ export default function Template({children}: {children: React.ReactNode}) { right={50} /> - - - {children} - - + {children} ); }