#Problem when refreshing page
1 messages · Page 1 of 1 (latest)
Based on the information provided in the extracts, it seems like you're experiencing an issue similar to the one described in the Github issue titled "Style load fails on initial and refresh load, with styled-components" source (https://github.com/vercel/next.js/issues/52786).
In this issue, the user reported that their styles only load when a specific button is clicked. On the first load and on refresh of the page, not all styles load.
Unfortunately, the extracts do not provide a direct solution to your problem. However, they suggest that this might be a known issue with Next.js and styled-components.
For a more accurate solution, I would recommend checking the discussion and potential solutions in the linked Github issue. If the problem persists, consider opening a new issue in the Next.js Github repository with a detailed description of your problem and a minimal reproduction.