Loading bar for layout

This commit is contained in:
Jori Lallo
2017-06-29 19:43:44 -07:00
parent 2a8c12f9bf
commit fb2f50999b
3 changed files with 14 additions and 4 deletions

View File

@ -27,7 +27,6 @@ type Props = {
children?: ?React.Element<any>,
actions?: ?React.Element<any>,
title?: ?React.Element<any>,
loading?: boolean,
user: UserStore,
auth: AuthStore,
ui: UiStore,
@ -73,7 +72,7 @@ type Props = {
]}
/>
{this.props.loading && <LoadingIndicator />}
{this.props.ui.progressBarVisible && <LoadingIndicator />}
{this.props.notifications}