diff --git a/.eslintrc.js b/.eslintrc.js
index 7e22042ba0..4a193a7ad5 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -36,5 +36,6 @@ module.exports = {
// see https://github.com/clayne11/eslint-import-resolver-meteor/issues/17
// - seems to affect Codacy :-(
"import/extensions": ["off", "never"],
+ "react/jsx-indent": "off"
}
};
diff --git a/src/Explorer/ExplorerTable.jsx b/src/Explorer/ExplorerTable.jsx
index d41e50961e..74b6ee76c7 100644
--- a/src/Explorer/ExplorerTable.jsx
+++ b/src/Explorer/ExplorerTable.jsx
@@ -170,7 +170,6 @@ export class ExplorerTableComponent extends Component {
this.props.onPageSizeChange(value)}
/>
diff --git a/src/Popup/Popup.jsx b/src/Popup/Popup.jsx
index 63029b0d5c..11b0edd825 100644
--- a/src/Popup/Popup.jsx
+++ b/src/Popup/Popup.jsx
@@ -59,17 +59,17 @@ export const Error = styled.h6`
const Popup = ({ message, code, error, closeText, cancelText, confirmText,
onClose, onCancel, onConfirm }) => (
-
+
- {message}
- {code &&
+ {message}
+ {code &&
{code}
}
- {error && Error}
- {error &&
+ {error && Error}
+ {error &&
{error}
}
-
+
{onClose &&
}
@@ -80,7 +80,7 @@ const Popup = ({ message, code, error, closeText, cancelText, confirmText,
}
-
+
);
Popup.propTypes = {
diff --git a/src/Submission/SubmissionResult.jsx b/src/Submission/SubmissionResult.jsx
index d49983c289..8c866ccf53 100644
--- a/src/Submission/SubmissionResult.jsx
+++ b/src/Submission/SubmissionResult.jsx
@@ -60,14 +60,14 @@ const SubmissionResult = ({ status, data }) => {
Errors:
+ width="100%"
+ height="300px"
+ style={{ marginBottom: '2em' }}
+ mode="json"
+ theme="kuroir"
+ readOnly
+ value={JSON.stringify(errorList, null, ' ')}
+ />
);
}
} else if (status === 504) {
diff --git a/src/utils.js b/src/utils.js
index dcd4c72217..d6a129b959 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -46,7 +46,6 @@ export const predictFileType = (dirtyData, fileType) => {
};
export const withBoxAndNav = (Component, background) => ({ ...props }) => {
- console.log(background);
return (