From 7ec9e688dbf753f4b53a96447a8a47a682ffaeb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A4=BE=E9=95=BF=E9=95=BF?= Date: Tue, 26 Mar 2024 22:32:59 +0800 Subject: [PATCH] docs: fix notification word error (#48100) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 社长长 --- components/notification/demo/hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/notification/demo/hooks.md b/components/notification/demo/hooks.md index 3ef5b029c5..e0fbb43be9 100755 --- a/components/notification/demo/hooks.md +++ b/components/notification/demo/hooks.md @@ -1,6 +1,6 @@ ## zh-CN -通过 `notification.useNotification` 创建支持读取 context 的 `contextHolder`。请注意,我们推荐通过顶层注册的方式代替 `message` 静态方法,因为静态方法无法消费上下文,因而 ConfigProvider 的数据也不会生效。 +通过 `notification.useNotification` 创建支持读取 context 的 `contextHolder`。请注意,我们推荐通过顶层注册的方式代替 `notification` 静态方法,因为静态方法无法消费上下文,因而 ConfigProvider 的数据也不会生效。 ## en-US