Skip to content

Commit

Permalink
배포 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
DHyeon98 committed Jun 24, 2024
1 parent 14ba391 commit 70befad
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useState, useRef } from 'react';
import usePullReload from '@/hooks/use-pull-to-refresh';
import Spinner from '@/components/spinner/spinner';
import Header from '@/components/common/Header';
import { AnimatePresence } from 'framer-motion';
// import { AnimatePresence } from 'framer-motion';
import BackGround from '@/components/background/background';

declare global {
Expand All @@ -32,11 +32,11 @@ export default function App({ Component, pageProps }: AppProps) {
<main id="__container" ref={containerRef}>
<Header router={router} />
{isDragging && <Spinner />}
<AnimatePresence mode="wait">
<div key={router.route}>
<Component {...pageProps} key={router.route} />
</div>
</AnimatePresence>
{/* <AnimatePresence mode="wait"> */}
<div key={router.route}>
<Component {...pageProps} key={router.route} />
</div>
{/* </AnimatePresence> */}
{isNav(router) && <Nav />}
</main>
</BackGround>
Expand Down

0 comments on commit 70befad

Please sign in to comment.