We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beafab2 commit b544611Copy full SHA for b544611
packages/react-dev-utils/webpackHotDevClient.js
@@ -26,7 +26,8 @@ var ErrorOverlay = require('react-error-overlay');
26
ErrorOverlay.setEditorHandler(function editorHandler(errorLocation) {
27
// Keep this sync with errorOverlayMiddleware.js
28
fetch(
29
- `${launchEditorEndpoint}?fileName=` +
+ launchEditorEndpoint +
30
+ '?fileName=' +
31
window.encodeURIComponent(errorLocation.fileName) +
32
'&lineNumber=' +
33
window.encodeURIComponent(errorLocation.lineNumber || 1)
0 commit comments