We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5243ef4 commit 6a196fdCopy full SHA for 6a196fd
1 file changed
src/backend/console.js
@@ -77,7 +77,10 @@ function describeComponentFrame(
77
const pathBeforeSlash = match[1];
78
if (pathBeforeSlash) {
79
const folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, '');
80
- fileName = folderName + '/' + fileName;
+ // Note the below string contains a zero width space after the "/" character.
81
+ // This is to prevent browsers like Chrome from formatting the file name as a link.
82
+ // (Since this is a source link, it would not work to open the source file anyway.)
83
+ fileName = folderName + '/' + fileName;
84
}
85
86
0 commit comments