Skip to content

Commit

Permalink
feat: MotionConfig 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
solar3070 committed Dec 21, 2023
1 parent 5fc2c82 commit dcdb2ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import * as amplitude from '@amplitude/analytics-browser';
import isValidProp from '@emotion/is-prop-valid';
import { MotionConfig } from 'framer-motion';
import type { AppProps } from 'next/app';
import Head from 'next/head';
import { useRouter } from 'next/router';
Expand Down Expand Up @@ -84,7 +86,9 @@ function MyApp({ Component, pageProps }: AppProps) {
<GoogleTagManagerScript />
<Global styles={global} />
<QueryClientProvider client={queryClient}>
<Component {...pageProps} />
<MotionConfig isValidProp={isValidProp}>
<Component {...pageProps} />
</MotionConfig>
<ReactQueryDevtools initialIsOpen={false} />
</QueryClientProvider>
<GoogleTagManagerNoscript />
Expand Down

0 comments on commit dcdb2ad

Please sign in to comment.