From 019edd8e34bb1a922674cab80428cb045ed43401 Mon Sep 17 00:00:00 2001 From: chrisgarrity <chrisg@media.mit.edu> Date: Fri, 17 Aug 2018 14:05:55 -0400 Subject: [PATCH] Add missing propTypes For some reason the travis eslint did not catch these missing prop validations. --- src/components/import-modal/import-modal.jsx | 1 + src/containers/gui.jsx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/components/import-modal/import-modal.jsx b/src/components/import-modal/import-modal.jsx index 1028d5ddc..60b130212 100644 --- a/src/components/import-modal/import-modal.jsx +++ b/src/components/import-modal/import-modal.jsx @@ -156,6 +156,7 @@ ImportModal.propTypes = { hasValidationError: PropTypes.bool.isRequired, inputValue: PropTypes.string.isRequired, intl: intlShape.isRequired, + isRtl: PropTypes.bool, onCancel: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired, onGoBack: PropTypes.func.isRequired, diff --git a/src/containers/gui.jsx b/src/containers/gui.jsx index cdcb87c89..33d8fe58b 100644 --- a/src/containers/gui.jsx +++ b/src/containers/gui.jsx @@ -94,6 +94,7 @@ class GUI extends React.Component { } GUI.propTypes = { + assetHost: PropTypes.string, children: PropTypes.node, fetchingProject: PropTypes.bool, importInfoVisible: PropTypes.bool, @@ -101,6 +102,7 @@ GUI.propTypes = { onSeeCommunity: PropTypes.func, previewInfoVisible: PropTypes.bool, projectData: PropTypes.oneOfType([PropTypes.object, PropTypes.string]), + projectHost: PropTypes.string, vm: PropTypes.instanceOf(VM) }; -- GitLab