diff --git a/docs/Authentication.md b/docs/Authentication.md index a3f993c3344..daba5712264 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 }) => { @@ -249,6 +249,7 @@ const MyLoginPage = ({ theme }) => {
);