diff --git a/docs/CustomApp.md b/docs/CustomApp.md index a05c30dfb1a..b77e5d2f7ef 100644 --- a/docs/CustomApp.md +++ b/docs/CustomApp.md @@ -201,18 +201,18 @@ const App = () => ( - - + -+ ++ + + + -+ -+ -+ -+ -+ My admin -+ -+ -+ ++ ++ ++ ++ My admin ++ ++ ++ ++ + + + } /> @@ -226,8 +226,8 @@ const App = () => ( + } /> + } /> + -+ -+ ++ ++ + - @@ -239,6 +239,7 @@ const App = () => ( + authProvider: PropTypes.func, + }, + () => ({ authProvider }) ++)(App); ``` Note that this example still uses ``, because this component lazily initializes the store for the resource data.