diff --git a/src/views/studio/debug.jsx b/src/views/studio/debug.jsx deleted file mode 100644 index 3b037079e..000000000 --- a/src/views/studio/debug.jsx +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; - -const Debug = ({label, data}) => (
- {label} - -
-            {JSON.stringify(data, null, '  ')}
-        
-
-
); - -Debug.propTypes = { - label: PropTypes.string, - data: PropTypes.any // eslint-disable-line react/forbid-prop-types -}; - -export default Debug; diff --git a/src/views/studio/l10n.json b/src/views/studio/l10n.json index a01d5d54e..4c7550b82 100644 --- a/src/views/studio/l10n.json +++ b/src/views/studio/l10n.json @@ -21,6 +21,12 @@ "studio.followErrors.confirmEmail": "Please confirm your email address first", "studio.followErrors.generic": "Something went wrong following the studio", + "studio.sectionLoadError.projectsHeadline": "Something went wrong loading projects", + "studio.sectionLoadError.curatorsHeadline": "Something went wrong loading curators", + "studio.sectionLoadError.managersHeadline": "Something went wrong loading managers", + "studio.sectionLoadError.activityHeadline": "Something went wrong loading managers", + "studio.sectionLoadError.tryAgain": "Try again", + "studio.projectsHeader": "Projects", "studio.addProjectsHeader": "Add Projects", "studio.addProject": "Add", diff --git a/src/views/studio/studio-activity.jsx b/src/views/studio/studio-activity.jsx index 519dbb2d5..ef65c406c 100644 --- a/src/views/studio/studio-activity.jsx +++ b/src/views/studio/studio-activity.jsx @@ -6,7 +6,6 @@ import {connect} from 'react-redux'; import {activity} from './lib/redux-modules'; import {loadActivity} from './lib/studio-activity-actions'; -import Debug from './debug.jsx'; import classNames from 'classnames'; import SocialMessage from '../../components/social-message/social-message.jsx'; @@ -181,10 +180,15 @@ const StudioActivity = ({items, loading, error, moreToLoad, onLoadMore}) => {

{loading &&
Loading...
} - {error && } + {error &&
+

+ +
}