mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
fix
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user