Skip to content

Commit d8c0ee0

Browse files
anlyyaonovlan1
andauthored
fix(Message): use the correct error theme icon (#3879)
* fix(Message): use the correct error theme icon * test: update snapshots --------- Co-authored-by: novlan1 <[email protected]>
1 parent 0d541fe commit d8c0ee0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/components/message-item/message-item.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const SHOW_DURATION = 500;
1515
const THEME_ICON = {
1616
info: 'info-circle-filled',
1717
success: 'check-circle-filled',
18-
warning: 'info-circle-filled',
18+
warning: 'error-circle-filled',
1919
error: 'error-circle-filled',
2020
};
2121

packages/components/message/__test__/__snapshots__/index.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ exports[`message props : style && customStyle 1`] = `
3434
bind:tap="onTap"
3535
>
3636
<wx-label
37-
class="t-icon-info-circle-filled t-icon-base"
37+
class="t-icon-error-circle-filled t-icon-base"
3838
/>
3939
</wx-view>
4040
</t-icon>

0 commit comments

Comments
 (0)