diff --git a/src/components/Authorized/demo/secured.md b/src/components/Authorized/demo/secured.md index 1e9537af19d3613b9ea6684f8933afa283ba1415..c030300e797ad404a136153441fd6d0b45a1fee2 100644 --- a/src/components/Authorized/demo/secured.md +++ b/src/components/Authorized/demo/secured.md @@ -16,7 +16,9 @@ const { Secured } = RenderAuthorized('user'); @Secured('admin') class TestSecuredString extends React.Component { render() { - ; + return ( + ; + ) } } ReactDOM.render(