<p dir="auto">If you check this url<br>
<a href="https://nextstore.itmohou.now.sh/" rel="nofollow">https://nextstore.itmohou.now.sh/</a></p>
<p dir="auto">everything will work fine<br>
if you go to footer and navigate to about<br>
then press home it will work fine also</p>
<p dir="auto">but if you went to any error page (any page because there are no pages yet)</p>
<p dir="auto">and press home<br>
it will get stuck and wont go to home<br>
other pages will work perfectly<br>
i couldnt find the problem</p>
<p dir="auto">here is the code<br>
<a href="https://github.com/mohammadou1/nextstore">https://github.com/mohammadou1/nextstore</a></p>
<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>