From 1e95fd1d4762a1e5d9de3d916035ff3c15e28648 Mon Sep 17 00:00:00 2001 From: Ville Nupponen Date: Sun, 17 May 2020 20:27:30 +0300 Subject: [PATCH] Doc: Fixed incorrect notify parameter --- docs/Translation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Translation.md b/docs/Translation.md index 6b567330480..7c7a626d0fd 100644 --- a/docs/Translation.md +++ b/docs/Translation.md @@ -571,7 +571,7 @@ export default { By default, react-admin translates the notification messages. You can pass variables for polyglot interpolation with custom notifications. For example: ```js -notify('myroot.hello.world', 'info', { messageArgs: { name: 'Planet Earth' } }); +notify('myroot.hello.world', 'info', { name: 'Planet Earth' }); ``` Assuming you have the following in your custom messages: