summaryrefslogtreecommitdiffstats
path: root/frontend/components/PleaseSignIn.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-05-10 16:02:07 -0400
committerWes Bos <wesbos@gmail.com>2018-05-10 16:02:07 -0400
commit632af35d8a0871ca8c1041d0e14d63e2b457d168 (patch)
tree6d3ccae3cb20a082e4e6ea6fd982152568000193 /frontend/components/PleaseSignIn.js
parente0c628528142f26ce9a42ba4c3c5d2cb41114a56 (diff)
Styles
Diffstat (limited to 'frontend/components/PleaseSignIn.js')
-rw-r--r--frontend/components/PleaseSignIn.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/components/PleaseSignIn.js b/frontend/components/PleaseSignIn.js
index 6be17cb..9933d49 100644
--- a/frontend/components/PleaseSignIn.js
+++ b/frontend/components/PleaseSignIn.js
@@ -1,7 +1,7 @@
import { Query } from 'react-apollo';
+import PropTypes from 'prop-types';
import { CURRENT_USER_QUERY } from '../queries/queries';
import Signin from './Signin';
-import Dump from './Dump';
const PleaseSignIn = props => (
<Query query={CURRENT_USER_QUERY}>
@@ -38,4 +38,9 @@ const PleaseSignIn = props => (
</Query>
);
+PleaseSignIn.propTypes = {
+ allowedPermissions: PropTypes.array.isRequired,
+ children: PropTypes.any.isRequired,
+};
+
export default PleaseSignIn;