aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/module/Panel.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/module/Panel.jsx')
-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 e372774..8c96611 100644
--- a/src/module/Panel.jsx
+++ b/src/module/Panel.jsx
@@ -11,9 +11,11 @@ function noop() {
11} 11}
12 12
13function generateOptions(length) { 13function generateOptions(length) {
14 return Array.apply(null, {length: length}).map((item, index) => { 14 const arr = [];
15 return index; 15 for(let i = 0; i < length; i++){
16 }); 16 arr.push(i);
17 }
18 return arr;
17} 19}
18 20
19const Panel = React.createClass({ 21const Panel = React.createClass({