Skip to content

Commit

Permalink
docs: fix notification word error (ant-design#48100)
Browse files Browse the repository at this point in the history
Signed-off-by: 社长长 <[email protected]>
  • Loading branch information
shezhangzhang authored Mar 26, 2024
1 parent c79b75f commit 7ec9e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/notification/demo/hooks.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## zh-CN

通过 `notification.useNotification` 创建支持读取 context 的 `contextHolder`。请注意,我们推荐通过顶层注册的方式代替 `message` 静态方法,因为静态方法无法消费上下文,因而 ConfigProvider 的数据也不会生效。
通过 `notification.useNotification` 创建支持读取 context 的 `contextHolder`。请注意,我们推荐通过顶层注册的方式代替 `notification` 静态方法,因为静态方法无法消费上下文,因而 ConfigProvider 的数据也不会生效。

## en-US

Expand Down

0 comments on commit 7ec9e68

Please sign in to comment.