Show loading message when we are loading
This commit is contained in:
@@ -61,7 +61,11 @@ export default class BaseLayout extends React.Component {
|
||||
const isSpecEmpty = !specSelectors.specStr()
|
||||
|
||||
if(isSpecEmpty) {
|
||||
return <h4>No spec provided.</h4>
|
||||
if(isLoading) {
|
||||
return <h4>Loading...</h4>
|
||||
} else {
|
||||
return <h4>No spec provided.</h4>
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user