We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f5f8e commit 65d0e0cCopy full SHA for 65d0e0c
book/5-end/pages/admin/index.js
@@ -66,4 +66,4 @@ class IndexWithData extends React.Component {
66
}
67
68
69
-export default withAuth(withLayout(IndexWithData));
+export default withAuth(withLayout(IndexWithData), { adminRequired: true });
0 commit comments