diff --git a/docs/Theming.md b/docs/Theming.md
index cf0fe87bb6a..bbed3cbb1a9 100644
--- a/docs/Theming.md
+++ b/docs/Theming.md
@@ -438,13 +438,13 @@ const MyAppBar = props => } />;
const MyLayout = props => ;
```
-You can also remove the `` from the `` by passing `null` to the `userMenu` prop:
+You can also remove the `` from the `` by passing `false` to the `userMenu` prop:
```jsx
import * as React from 'react';
import { AppBar } from 'react-admin';
-const MyAppBar = props => ;
+const MyAppBar = props => ;
const MyLayout = props => ;
```