File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -249,11 +249,9 @@ class App extends Component {
249249 render ( ) {
250250 return (
251251 < div className = "debugger" >
252- { this . state . horizontal ? (
253- this . renderHorizontalLayout ( )
254- ) : (
255- this . renderVerticalLayout ( )
256- ) }
252+ { this . state . horizontal
253+ ? this . renderHorizontalLayout ( )
254+ : this . renderVerticalLayout ( ) }
257255 { this . renderSymbolModal ( ) }
258256 </ div >
259257 ) ;
Original file line number Diff line number Diff line change @@ -75,11 +75,9 @@ export class Outline extends Component {
7575
7676 return (
7777 < div className = { classnames ( "outline" , { hidden : isHidden } ) } >
78- { symbolsToDisplay . length > 0 ? (
79- this . renderFunctions ( symbolsToDisplay )
80- ) : (
81- this . renderPlaceholder ( )
82- ) }
78+ { symbolsToDisplay . length > 0
79+ ? this . renderFunctions ( symbolsToDisplay )
80+ : this . renderPlaceholder ( ) }
8381 </ div >
8482 ) ;
8583 }
Original file line number Diff line number Diff line change @@ -155,11 +155,9 @@ class ProjectSearch extends Component {
155155
156156 return (
157157 < div className = "search-container" >
158- { this . isProjectSearchEnabled ( ) ? (
159- this . renderTextSearch ( )
160- ) : (
161- this . renderSourceSearch ( )
162- ) }
158+ { this . isProjectSearchEnabled ( )
159+ ? this . renderTextSearch ( )
160+ : this . renderSourceSearch ( ) }
163161 </ div >
164162 ) ;
165163 }
Original file line number Diff line number Diff line change @@ -71,11 +71,9 @@ class Scopes extends PureComponent {
7171 return (
7272 < div className = "pane scopes-list" >
7373 < div className = "pane-info" >
74- { pauseInfo ? (
75- L10N . getStr ( "scopes.notAvailable" )
76- ) : (
77- L10N . getStr ( "scopes.notPaused" )
78- ) }
74+ { pauseInfo
75+ ? L10N . getStr ( "scopes.notAvailable" )
76+ : L10N . getStr ( "scopes.notPaused" ) }
7977 </ div >
8078 </ div >
8179 ) ;
Original file line number Diff line number Diff line change @@ -16,11 +16,9 @@ export class Workers extends PureComponent {
1616 return (
1717 < div className = "pane" >
1818 < div className = "pane-info" >
19- { workers && workers . length > 0 ? (
20- this . renderWorkers ( workers )
21- ) : (
22- this . renderNoWorkersPlaceholder ( )
23- ) }
19+ { workers && workers . length > 0
20+ ? this . renderWorkers ( workers )
21+ : this . renderNoWorkersPlaceholder ( ) }
2422 </ div >
2523 </ div >
2624 ) ;
Original file line number Diff line number Diff line change @@ -220,11 +220,9 @@ class SecondaryPanes extends Component {
220220 return (
221221 < div className = "secondary-panes secondary-panes--sticky-commandbar" >
222222 < CommandBar horizontal = { this . props . horizontal } />
223- { this . props . horizontal ? (
224- this . renderHorizontalLayout ( )
225- ) : (
226- this . renderVerticalLayout ( )
227- ) }
223+ { this . props . horizontal
224+ ? this . renderHorizontalLayout ( )
225+ : this . renderVerticalLayout ( ) }
228226 </ div >
229227 ) ;
230228 }
You can’t perform that action at this time.
0 commit comments