diff --git a/docs/Authentication.md b/docs/Authentication.md
index a3f993c3344..5e3c0438974 100644
--- a/docs/Authentication.md
+++ b/docs/Authentication.md
@@ -230,7 +230,7 @@ Use the `useLogin` and `useLogout` hooks in your custom `LoginPage` and `LogoutB
```jsx
// in src/MyLoginPage.js
import React, { useState } from 'react';
-import { useLogin, useNotify } from 'react-admin';
+import { useLogin, useNotify, Notification } from 'react-admin';
import { ThemeProvider } from '@material-ui/styles';
const MyLoginPage = ({ theme }) => {
@@ -250,6 +250,7 @@ const MyLoginPage = ({ theme }) => {
setEmail(e.target.value)} />
setPassword(e.target.value)} />
+
);
};