@@ -18,10 +18,10 @@ const styles = {
1818 } ,
1919 toolbar : {
2020
21- fontSize : " 0.7em" ,
21+ fontSize : ' 0.7em' ,
2222 zIndex : 1000 ,
2323
24- }
24+ } ,
2525} ;
2626
2727export default class NetPyNEThumbnail extends React . Component {
@@ -34,7 +34,6 @@ export default class NetPyNEThumbnail extends React.Component {
3434 this . handleDialogBox = this . handleDialogBox . bind ( this ) ;
3535 }
3636
37-
3837 handleClick ( ) {
3938 if ( this . props . handleClick ) {
4039 this . props . handleClick ( this . props . name , true ) ;
@@ -58,8 +57,6 @@ export default class NetPyNEThumbnail extends React.Component {
5857 } ;
5958 }
6059
61-
62-
6360 render ( ) {
6461 const {
6562 name, selected, isButton = false , isCog = false ,
@@ -99,19 +96,16 @@ const getButton = (isCogButton, isRegularButton, label, selected, tooltip, props
9996 return getFabButton ( label , selected , tooltip , props ) ;
10097} ;
10198
102-
10399const HoverActions = ( { deleteAction } ) => (
104- < Box style = { styles . toolbar } >
105- < Tooltip title = { "Delete item" } placement = "top" >
100+ < Box style = { styles . toolbar } >
101+ < Tooltip title = "Delete item" placement = "top" >
106102 < IconButton size = "small" onClick = { deleteAction } >
107103 < Icon fontSize = "inherit" className = "fa fa-trash-o" />
108104 </ IconButton >
109105 </ Tooltip >
110- </ Box >
111-
112- )
113-
106+ </ Box >
114107
108+ ) ;
115109
116110const getCogButton = ( label , selected , others ) => (
117111
@@ -142,7 +136,6 @@ const getRegularButton = (label, selected, others) => (
142136 { label }
143137 </ Button >
144138
145-
146139) ;
147140
148141const getFabButton = ( label , selected , others ) => (
0 commit comments