aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/module/Panel.jsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/module/Panel.jsx b/src/module/Panel.jsx
index b91c6fe..4c7eaae 100644
--- a/src/module/Panel.jsx
+++ b/src/module/Panel.jsx
@@ -7,9 +7,11 @@ function noop() {
7} 7}
8 8
9function generateOptions(length) { 9function generateOptions(length) {
10 return Array.apply(null, {length: length}).map((item, index) => { 10 const arr = [];
11 return index; 11 for(let i = 0; i < length; i++){
12 }); 12 arr.push(i);
13 }
14 return arr;
13} 15}
14 16
15const Panel = React.createClass({ 17const Panel = React.createClass({