diff --git a/docs/useNotify.md b/docs/useNotify.md index 72418c84a50..47faa67d20f 100644 --- a/docs/useNotify.md +++ b/docs/useNotify.md @@ -149,6 +149,7 @@ notify('This is an error', { type: 'error' }); When using `useNotify` as a side effect for an `undoable` mutation, you MUST set the `undoable` option to `true`, otherwise the "undo" button will not appear, and the actual update will never occur. +{% raw %} ```jsx import * as React from 'react'; import { useNotify, Edit, SimpleForm } from 'react-admin'; @@ -169,6 +170,7 @@ const PostEdit = () => { ); } ``` +{% endraw %} ## Custom Notification Content