Skip to content

Commit 65d0e0c

Browse files
committed
book/5-end adminRequired #207
1 parent f7f5f8e commit 65d0e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/5-end/pages/admin/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ class IndexWithData extends React.Component {
6666
}
6767
}
6868

69-
export default withAuth(withLayout(IndexWithData));
69+
export default withAuth(withLayout(IndexWithData), { adminRequired: true });

0 commit comments

Comments
 (0)