@@ -87,7 +87,7 @@ class LeftContainer extends Component<PropsInt, StateInt> {
87
87
}
88
88
89
89
handleChange = ( event : any ) => {
90
- let newValue : string = event . target . value ;
90
+ const newValue : string = event . target . value ;
91
91
this . setState ( {
92
92
componentName : newValue ,
93
93
} ) ;
@@ -169,10 +169,8 @@ class LeftContainer extends Component<PropsInt, StateInt> {
169
169
render ( ) : JSX . Element {
170
170
const {
171
171
components,
172
- updateComponent,
173
172
deleteComponent,
174
173
focusComponent,
175
- totalComponents,
176
174
classes,
177
175
addChild,
178
176
changeFocusComponent,
@@ -194,6 +192,8 @@ class LeftContainer extends Component<PropsInt, StateInt> {
194
192
changeFocusComponent = { changeFocusComponent }
195
193
changeFocusChild = { changeFocusChild }
196
194
selectableChildren = { selectableChildren }
195
+ deleteComponent = { deleteComponent }
196
+ components = { components }
197
197
/>
198
198
) ) ;
199
199
@@ -260,7 +260,7 @@ class LeftContainer extends Component<PropsInt, StateInt> {
260
260
color = "secondary"
261
261
aria-label = "Delete All"
262
262
variant = "contained"
263
- fullwidth = "true"
263
+ fullWidth
264
264
onClick = { this . clearWorkspace }
265
265
disabled = { this . props . components . length === 1 }
266
266
className = { classes . clearButton }
@@ -278,12 +278,11 @@ class LeftContainer extends Component<PropsInt, StateInt> {
278
278
>
279
279
< Button
280
280
color = "primary"
281
+ aria-label = "Export Code"
281
282
variant = "contained"
282
- fullwidth = "true"
283
+ fullWidth
283
284
onClick = { this . showGenerateAppModal }
284
285
className = { classes . clearButton }
285
- disabled = { totalComponents < 1 }
286
- onClick = { this . showGenerateAppModal }
287
286
style = { { borderRadius : 0 } }
288
287
>
289
288
< GetAppIcon style = { { paddingRight : '5px' } } />
0 commit comments