Skip to content

Commit fd504ff

Browse files
committed
Use line/col of the createServerReference callsite
1 parent 9260310 commit fd504ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-client/src/ReactFlightReplyClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ export function createServerReference<A: Iterable<any>, T>(
13751375
// multiple passes of compilation as long as we can find the final source map.
13761376
const location = parseStackLocation(new Error('react-stack-top-frame'));
13771377
if (location !== null) {
1378-
const [, filename, , , line, col] = location;
1378+
const [, filename, line, col] = location;
13791379
// While the environment that the Server Reference points to can be
13801380
// in any environment, what matters here is where the compiled source
13811381
// is from and that's in the currently executing environment. We hard

0 commit comments

Comments
 (0)