Skip to content

Commit

Permalink
Merge pull request #53 from 0xMirim/fix-framer-motion-warning
Browse files Browse the repository at this point in the history
fix: Resolve deprecation warning when using framer-motion component
  • Loading branch information
Majorfi authored Aug 25, 2022
2 parents a366b48 + a36ede3 commit 79f09a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/common/AppWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function WithLayout(props: AppProps): ReactElement {
shouldUseNetworks={true}
shouldUseWallets={true} />
<div id={'app'} className={'mx-auto mb-0 flex w-full max-w-6xl flex-col pt-6 md:pt-0'}>
<AnimatePresence exitBeforeEnter>
<AnimatePresence mode={'wait'}>
<motion.div
key={router.asPath}
initial={'initial'}
Expand Down

1 comment on commit 79f09a9

@vercel
Copy link

@vercel vercel bot commented on 79f09a9 Aug 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web-lib-template – ./

web-template-bay.vercel.app
web.ycorpo.com
web-lib-template.yearn.farm
web-lib-template-git-main.yearn.farm

Please sign in to comment.