Skip to content

Commit a9f9899

Browse files
authored
fix(useMessage): closeIcon (#6957)
* fix(useMessage): closeIcon * chore: del debugger
1 parent c99e9b0 commit a9f9899

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/message/useMessage.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { shallowRef, computed, defineComponent } from 'vue';
22
import { useNotification as useVcNotification } from '../vc-notification';
33
import type { NotificationAPI } from '../vc-notification';
4-
import CloseOutlined from '@ant-design/icons-vue';
4+
import CloseOutlined from '@ant-design/icons-vue/CloseOutlined';
55
import useStyle from './style';
66
import type {
77
MessageInstance,
@@ -80,7 +80,6 @@ const Holder = defineComponent({
8080
<CloseOutlined class={`${prefixCls.value}-close-icon`} />
8181
</span>
8282
);
83-
8483
// ============================== Origin ===============================
8584
const [api, holder] = useVcNotification({
8685
//@ts-ignore

0 commit comments

Comments
 (0)