Styling loading indicator, removing unused routes, adding "getting started" explanation
Also, only update relative time every minute instead of 6 seconds. My bad
This commit is contained in:
parent
e8a8703a4b
commit
a4b8069cf5
9 changed files with 66 additions and 73 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue