@@ -37,7 +37,7 @@ import ModifiedDialog from './components/ModifiedDialog';
3737
3838import './App.css' ;
3939
40- const useStyles = makeStyles ( theme => ( {
40+ const useStyles = makeStyles ( ( theme ) => ( {
4141 App : {
4242 display : 'flex' ,
4343 flexDirection : 'column' ,
@@ -89,21 +89,19 @@ const useStyles = makeStyles(theme => ({
8989 backgroundColor : theme . palette . input . background ,
9090 } ,
9191 Toolbar : {
92- minHeight : 0
92+ minHeight : 0 ,
9393 } ,
9494 tab : {
9595 display : 'flex' ,
9696 alignItems : 'center' ,
9797 padding : '0 40px' ,
98- position : 'relative'
98+ position : 'relative' ,
9999 } ,
100100 tabChip : {
101101 border : 'none' ,
102102 } ,
103- tabIcon : {
104- } ,
105- leftPanel : {
106- } ,
103+ tabIcon : { } ,
104+ leftPanel : { } ,
107105 rightPanel : {
108106 borderLeft : '1px solid #ccc' ,
109107 } ,
@@ -190,7 +188,7 @@ const useStyles = makeStyles(theme => ({
190188 display : 'flex' ,
191189 alignItems : 'center' ,
192190 justifyContent : 'center' ,
193- }
191+ } ,
194192} ) ) ;
195193
196194const App = ( ) => {
@@ -224,7 +222,7 @@ const App = () => {
224222 ) ) ;
225223
226224 function fileModifiedSnack ( run ) {
227- let message = " Something happened"
225+ let message = ' Something happened' ;
228226 if ( run . converted ) {
229227 message = `Converted your ${ run . convertedAlignmentFrom } alignment into fasta!` ;
230228 }
@@ -391,10 +389,18 @@ const App = () => {
391389 < IconButton
392390 onClick = { ( ) => store . config . setDarkMode ( ! store . config . isDarkMode ) }
393391 size = "small"
394- title = { store . config . isDarkMode ? 'Switch to Light Mode' : 'Switch to Dark Mode' }
392+ title = {
393+ store . config . isDarkMode
394+ ? 'Switch to Light Mode'
395+ : 'Switch to Dark Mode'
396+ }
395397 sx = { { mr : 2 , color : 'inherit' } }
396398 >
397- { store . config . isDarkMode ? < LightModeIcon fontSize = "small" /> : < DarkModeIcon fontSize = "small" /> }
399+ { store . config . isDarkMode ? (
400+ < LightModeIcon fontSize = "small" />
401+ ) : (
402+ < DarkModeIcon fontSize = "small" />
403+ ) }
398404 </ IconButton >
399405 < Box display = "flex" >
400406 { /* In dev mode the app version shown is from electron, in production it is ours */ }
@@ -437,11 +443,9 @@ const App = () => {
437443 severity = { run . exitCode === 0 ? 'success' : 'info' }
438444 sx = { { width : '100%' } }
439445 >
440- {
441- run . exitCode === 0
442- ? 'Calculation finished!'
443- : `Calculation cancelled!`
444- }
446+ { run . exitCode === 0
447+ ? 'Calculation finished!'
448+ : `Calculation cancelled!` }
445449 </ Alert >
446450 </ Snackbar >
447451 { fileModifiedSnack ( run ) }
0 commit comments