From cbce569365992f1d88b8321fb528de930c4c1ad5 Mon Sep 17 00:00:00 2001 From: villo Date: Sun, 8 Mar 2020 18:44:09 -0300 Subject: [PATCH] docs(auth): Adds missing tag Notification on MyLoginPage example #4491 --- docs/Authentication.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }) => {
setEmail(e.target.value)} /> setPassword(e.target.value)} /> + );