-
Notifications
You must be signed in to change notification settings - Fork 29.9k
Closed
Description
- I was using
data-fetchexample and added the Router events functionality fromwith-loadingexample. - I have these lines of code
<Link href='#about'><a style={linkStyle}>About</a></Link>
<a href="#contact" style={linkStyle}>Contact</a>- Clicking on
Aboutlink is not going toAboutsection on the page (as mentioned in Link component doesn't support relative path #573) - But clicking on
Contactanchor link is going toContactsection but also resulting in below error
commons.js:3 Uncaught (in promise) TypeError: Cannot read property 'url' of null
at e.<anonymous> (https://data-fetch-qcpytnbuvq.now.sh/_next/commons.js:3:1274)
at o (https://data-fetch-qcpytnbuvq.now.sh/_next/commons.js:5:11983)
at Generator._invoke (https://data-fetch-qcpytnbuvq.now.sh/_next/commons.js:5:13392)
at Generator.t.(anonymous function) [as next] (https://data-fetch-qcpytnbuvq.now.sh/_next/commons.js:5:12162)
at r (https://data-fetch-qcpytnbuvq.now.sh/_next/commons.js:1:17923)
at https://data-fetch-qcpytnbuvq.now.sh/_next/commons.js:1:18072
at e (https://data-fetch-qcpytnbuvq.now.sh/_next/commons.js:1:5415)
at e.<anonymous> (https://data-fetch-qcpytnbuvq.now.sh/_next/commons.js:1:17865)
at e.t (https://data-fetch-qcpytnbuvq.now.sh/_next/commons.js:3:1065)
-
Source Code: https://data-fetch-qcpytnbuvq.now.sh/_src/?f=components%2FHeader.js&h=745%3B111
-
using
version "2.0.0-beta.11"
Metadata
Metadata
Assignees
Labels
No labels