Closed Haberkamp closed 1 year ago
Hi @Haberkamp! Could you share a reproduction repository? That'd make it a lot easier for me to reproduce this.
Yes! Here you go. After starting the server visit the /layout
route. When you comment out the getServerSideProps
variable of that page you'll be able to see the layout again.
thx for the repro! I was able to reproduce and fix the error, it had to do with the order of the code emitted by this babel plugin.
@all-contributors please add @Haberkamp for bug
@Skn0tt
I've put up a pull request to add @Haberkamp! :tada:
Yea thank you!
I've added the plugin to my next.js app and fetching dates worked fine but the layouts we're missing completely.
next.js version: 12.2.4 superjson version: 1.9.1 babel-plugin-superjson-next version: 0.4.3