Skip to content

Commit e23f952

Browse files
committed
fix: [Toast] fix icon
1 parent 1ead654 commit e23f952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Toast/Toast.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function renderIcon(type: string) {
1414
case 'success':
1515
return <Icon type="check-circle" />;
1616
case 'error':
17-
return <Icon type="close-circle" />;
17+
return <Icon type="warning-circle" />;
1818
case 'loading':
1919
return <Icon type="spinner" spin />;
2020
default:

0 commit comments

Comments
 (0)