diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-06 22:47:35 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-06 22:47:35 +0200 |
commit | a4b8069cf5ed57d7cba066993f683941a6e60bc3 (patch) | |
tree | 9b211ea3137e62c343cd7d172b11c8a973754f82 /app/assets/javascripts/components/features/status/index.jsx | |
parent | e8a8703a4bfd0c245100beb1a0e15551b5c52f84 (diff) |
Styling loading indicator, removing unused routes, adding "getting started" explanation
Also, only update relative time every minute instead of 6 seconds. My bad
Diffstat (limited to 'app/assets/javascripts/components/features/status/index.jsx')
-rw-r--r-- | app/assets/javascripts/components/features/status/index.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/status/index.jsx b/app/assets/javascripts/components/features/status/index.jsx index f7ce53e99..c294ac1d6 100644 --- a/app/assets/javascripts/components/features/status/index.jsx +++ b/app/assets/javascripts/components/features/status/index.jsx @@ -4,6 +4,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchStatus } from '../../actions/statuses'; import Immutable from 'immutable'; import EmbeddedStatus from '../../components/status'; +import LoadingIndicator from '../../components/loading_indicator'; import DetailedStatus from './components/detailed_status'; import ActionBar from './components/action_bar'; import { favourite, reblog } from '../../actions/interactions'; @@ -63,7 +64,7 @@ const Status = React.createClass({ const { status, ancestors, descendants, me } = this.props; if (status === null) { - return <div>Loading {this.props.params.statusId}...</div>; + return <LoadingIndicator />; } const account = status.get('account'); |