Show loading message when we are loading

This commit is contained in:
HelderSepu
2017-12-09 11:12:41 -05:00
parent 943f71be5d
commit 67b2b716e4

View File

@@ -61,7 +61,11 @@ export default class BaseLayout extends React.Component {
const isSpecEmpty = !specSelectors.specStr() const isSpecEmpty = !specSelectors.specStr()
if(isSpecEmpty) { if(isSpecEmpty) {
return <h4>No spec provided.</h4> if(isLoading) {
return <h4>Loading...</h4>
} else {
return <h4>No spec provided.</h4>
}
} }
return ( return (