nextra icon indicating copy to clipboard operation
nextra copied to clipboard

`pageMap` is undefined after refreshing the page (only with `_app.mdx`)

Open hubertbodek opened this issue 1 year ago • 1 comments

Hey, recently I encountered Out Of Memory issues while building the project - what has helped was changing _app.tsx to _app.mdx.

But that introduced another issue - pageMap is undefined after refreshing the page which wasn't happening with _app.tsx. (NOTE: with client-side navigation the pageMap has correct value)

image

I noticed whenever I use imported components in the theme config the above error occurs.

image image

Here is a sample repo so you can reproduce the bug: https://github.com/hubertbodek/nextra-sample-repo

hubertbodek avatar Aug 12 '24 17:08 hubertbodek

@dimaMachina hey Dimitri, I sent you a slack message. But I doubt that you're in the habit of checking our connect channel :) Just wanted to let you know that this issue is related to https://www.speakeasy.com/

We're stuck on site development at the moment, and would love love your help!

ndimares avatar Aug 13 '24 08:08 ndimares

Closed since I received feedback that you fixed your issue

dimaMachina avatar Sep 12 '24 19:09 dimaMachina