Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- componentDidMount() {
- this.props.getResources()
- .then(() => {
- this.props.getUsers()
- .then(() => {
- this.props.getComments()
- .then(() => {
- this.props.getFiles()
- .then(() => {
- this.props.getAlts()
- .then(() => {
- this.props.getSubjects()
- .then(() => {
- this.props.getTemplates()
- .then(() => {
- this.props.getResourceTags()
- .then(() => {
- this.setState({
- resourcesLoaded: true
- });
- });
- });
- });
- });
- });
- });
- });
- });
- }
Add Comment
Please, Sign In to add comment