File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class App extends React.Component {
18
18
}
19
19
}
20
20
21
- componentDidMount = ( ) => {
21
+ componentDidMount ( ) {
22
22
const url = `${ this . baseUrl } /survey/stats`
23
23
fetch ( url ) . then ( ( response ) => {
24
24
return response . json ( )
@@ -29,19 +29,19 @@ class App extends React.Component {
29
29
} )
30
30
}
31
31
32
- onStart = ( start ) => {
32
+ onStart ( start ) {
33
33
this . setState ( {
34
34
start : start
35
35
} )
36
36
}
37
37
38
- onEnd = ( end ) => {
38
+ onEnd ( end ) {
39
39
this . setState ( {
40
40
end : end
41
41
} )
42
42
}
43
43
44
- onNewRange = ( ) => {
44
+ onNewRange ( ) {
45
45
const params = {
46
46
method : 'GET' ,
47
47
headers : {
@@ -59,7 +59,7 @@ class App extends React.Component {
59
59
} )
60
60
}
61
61
62
- render = ( ) => {
62
+ render ( ) {
63
63
const tableStyle = { overflow : 'scroll' , height : '200px' }
64
64
return (
65
65
< div >
You can’t perform that action at this time.
0 commit comments