<h1 dir="auto">Bug report</h1>
<p dir="auto">I find a bug about browser back didn't work, and when i import the css ,it work.<br>
I provided a <a href="https://github.com/poyiding/next-js-bug-rep">demo</a> to reproduce the problem。</p>
<h2 dir="auto">Describe the bug</h2>
<ol dir="auto">
<li>click "link about" link to /about/123 page</li>
<li>refresh the page, then click browser back, you will find it stop in current page.</li>
<li>if you import '../styles/global.css ' in about page and reload page, browser back it work ok.</li>
</ol>
<p dir="auto">This is bug report</p>
<p dir="auto">Link does not work with css-module imported. That happens when page with Link has no css, and linked page has. No errors in console, so im not sure about reasons, but there is minimal repo to reproduce:<br>
<a href="https://github.com/standy/next-css-error">https://github.com/standy/next-css-error</a></p>
<p dir="auto">Bug appears in <code class="notranslate">next@7.0.0</code> + <code class="notranslate">next-css@1.0.1</code>,<br>
Older <code class="notranslate">next@6.1.2</code> + <code class="notranslate">next-css@0.2.0</code> works fine</p>