File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ class ChartViewer extends React.Component {
7878 this . onChangeSize = this . onChangeSize . bind ( this ) ;
7979 this . onFetchData = this . onFetchData . bind ( this ) ;
8080 this . onChangeCaption = this . onChangeCaption . bind ( this ) ;
81- this . onChange = this . onChange . bind ( this ) ;
8281 }
8382
8483 componentDidMount ( ) {
@@ -124,11 +123,6 @@ class ChartViewer extends React.Component {
124123 ) ;
125124 }
126125
127- onChange ( ) {
128- this . onChangeCaption ( ) ;
129- this . onChangeSize ( ) ;
130- }
131-
132126 render ( ) {
133127 return (
134128 < div >
@@ -141,7 +135,6 @@ class ChartViewer extends React.Component {
141135 < div >
142136 < button onClick = { this . onChangeSize } > Change Size</ button >
143137 < button onClick = { this . onChangeCaption } > Change Caption</ button >
144- < button onClick = { this . onChange } > Change Both</ button >
145138 </ div >
146139 </ div >
147140 ) ;
You can’t perform that action at this time.
0 commit comments