Skip to content

Commit ac835dd

Browse files
committed
Merge branch 'master' into prep-for-2.6.1
2 parents 99278a4 + e2a50f0 commit ac835dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react_ujs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ var ReactRailsUJS = {
103103
}
104104
throw new Error(message + ". Make sure your component is available to render.")
105105
} else {
106-
let component = this.components[cacheId];
106+
var component = this.components[cacheId];
107107
if(component === undefined) {
108108
component = React.createElement(constructor, props);
109109
if(turbolinksPermanent) {

0 commit comments

Comments
 (0)