Skip to content

Commit b544611

Browse files
felthyTimer
authored andcommitted
Replace template literal; fixes #3367 (#3368)
1 parent beafab2 commit b544611

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-dev-utils/webpackHotDevClient.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ var ErrorOverlay = require('react-error-overlay');
2626
ErrorOverlay.setEditorHandler(function editorHandler(errorLocation) {
2727
// Keep this sync with errorOverlayMiddleware.js
2828
fetch(
29-
`${launchEditorEndpoint}?fileName=` +
29+
launchEditorEndpoint +
30+
'?fileName=' +
3031
window.encodeURIComponent(errorLocation.fileName) +
3132
'&lineNumber=' +
3233
window.encodeURIComponent(errorLocation.lineNumber || 1)

0 commit comments

Comments
 (0)