diff --git a/components/notification/index.js b/components/notification/index.js index f03ada956..9c19e4c04 100644 --- a/components/notification/index.js +++ b/components/notification/index.js @@ -134,17 +134,15 @@ function notice (args) { ) } - const autoMarginTag = (!description && iconNode) - ? - : null - getNotificationInstance(outerPrefixCls, placement || defaultPlacement, (notification) => { notification.notice({ content: (h) => (