File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -211,13 +211,15 @@ const BlueprintsStep = () => {
211211 ) }
212212 </ Container . Block >
213213
214- < Container . Footer className = "nfd-p-0" >
215- < div className = "nfd-flex nfd-justify-start nfd-border-t nfd-pt-8" >
216- < Navigate toRoute = "/" direction = "backward" variant = "secondary" >
217- { __ ( 'Back' , 'wp-module-onboarding' ) }
218- </ Navigate >
219- </ div >
220- </ Container . Footer >
214+ { ! sitegenHasFailed && (
215+ < Container . Footer className = "nfd-p-0" >
216+ < div className = "nfd-flex nfd-justify-start nfd-border-t nfd-pt-8" >
217+ < Navigate toRoute = "/" direction = "backward" variant = "secondary" >
218+ { __ ( 'Back' , 'wp-module-onboarding' ) }
219+ </ Navigate >
220+ </ div >
221+ </ Container . Footer >
222+ ) }
221223 </ Container >
222224 </ Step >
223225 ) ;
You can’t perform that action at this time.
0 commit comments