Skip to content

Commit ae7daf2

Browse files
committed
Use passed in parameter instead of global var.
1 parent 9b0c7bd commit ae7daf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ updateSideBar()
1111
function render(component, id) {
1212
var el = document.getElementById(id)
1313
if (el) {
14-
React.render(React.createElement(ItemFilterExample), el)
14+
React.render(React.createElement(component), el)
1515
}
1616
}
1717

0 commit comments

Comments
 (0)