From a541d5aa4b3b98a32ee3c485d139a1f8f75cd3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=91=BE=F0=9D=92=96=F0=9D=92=99=F0=9D=92=89?= Date: Thu, 16 Oct 2025 15:41:33 +0800 Subject: [PATCH] fix --- components/notification/useNotification.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/notification/useNotification.tsx b/components/notification/useNotification.tsx index eca95d011a..c4bd73185c 100644 --- a/components/notification/useNotification.tsx +++ b/components/notification/useNotification.tsx @@ -145,7 +145,8 @@ export function useInternalNotification( closeIcon, closable, ...restConfig - } = config; + } = extendsObject(notificationConfig, config); + if (process.env.NODE_ENV !== 'production') { warning.deprecated(!btn, 'btn', 'actions'); }