@@ -36,7 +36,6 @@ import ModifiedDialog from './components/ModifiedDialog';
3636
3737import './App.css' ;
3838
39- // Styled components for main layout
4039const VerticalHeading = styled ( Typography ) ( ( { theme } ) => ( {
4140 writingMode : 'vertical-rl' ,
4241 textOrientation : 'upright' ,
@@ -82,7 +81,7 @@ const App = () => {
8281 ) ) ;
8382
8483 function fileModifiedSnack ( run ) {
85- let message = " Something happened"
84+ let message = ' Something happened' ;
8685 if ( run . converted ) {
8786 message = `Converted your ${ run . convertedAlignmentFrom } alignment into fasta!` ;
8887 }
@@ -389,10 +388,18 @@ const App = () => {
389388 < IconButton
390389 onClick = { ( ) => store . config . setDarkMode ( ! store . config . isDarkMode ) }
391390 size = "small"
392- title = { store . config . isDarkMode ? 'Switch to Light Mode' : 'Switch to Dark Mode' }
391+ title = {
392+ store . config . isDarkMode
393+ ? 'Switch to Light Mode'
394+ : 'Switch to Dark Mode'
395+ }
393396 sx = { { mr : 2 , color : 'inherit' } }
394397 >
395- { store . config . isDarkMode ? < LightModeIcon fontSize = "small" /> : < DarkModeIcon fontSize = "small" /> }
398+ { store . config . isDarkMode ? (
399+ < LightModeIcon fontSize = "small" />
400+ ) : (
401+ < DarkModeIcon fontSize = "small" />
402+ ) }
396403 </ IconButton >
397404 < Box display = "flex" >
398405 { /* In dev mode the app version shown is from electron, in production it is ours */ }
@@ -444,11 +451,9 @@ const App = () => {
444451 severity = { run . exitCode === 0 ? 'success' : 'info' }
445452 sx = { { width : '100%' } }
446453 >
447- {
448- run . exitCode === 0
449- ? 'Calculation finished!'
450- : `Calculation cancelled!`
451- }
454+ { run . exitCode === 0
455+ ? 'Calculation finished!'
456+ : `Calculation cancelled!` }
452457 </ Alert >
453458 </ Snackbar >
454459 { fileModifiedSnack ( run ) }
0 commit comments