File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ export default class Command extends Component {
37
37
38
38
render ( props , state ) {
39
39
const isFetchingFromGitHub = ! state . error && ! state . result && ! state . progress ;
40
- const hasNoErrors = state . error !== null ;
41
- const hasResults = state . result === 'ok' ;
42
40
const isInProgress = state . progress ;
41
+ const hasErrors = state . error !== null ;
42
+ const hasResults = state . result === 'ok' ;
43
43
44
44
const projectName = state . projectName || props . projectName ;
45
45
@@ -54,7 +54,7 @@ export default class Command extends Component {
54
54
< Cli . Conditional expression = { isInProgress } >
55
55
< Spinner green /> Unzipping starter project to { projectName }
56
56
</ Cli . Conditional >
57
- < Cli . Conditional expression = { hasNoErrors } >
57
+ < Cli . Conditional expression = { hasErrors } >
58
58
< Text red >
59
59
{ state . error && state . error . message }
60
60
</ Text >
You can’t perform that action at this time.
0 commit comments