Replies: 1 comment
-
|
I suggest you to place components/layout.tsx : app.tsx : and in index.tsx file : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I created two static pages (home & about) and a few dynamic routes. My goal is to animate the navigation bar whenever I navigate between the pages. For some reason, Framer Motion works well when I click on the static pages but when I click on the dynamic pages - i get following error: TypeError: retrieveData is undefined.
The typeerror (and back animation) disappears when I remove AnimatePresence from _app.js. Anyone have an idea what the problem is?
app.js
component/navbar.js
slug.js
)
}
index.js
Beta Was this translation helpful? Give feedback.
All reactions