Skip to content

Commit

Permalink
fix: [Toast] fix icon
Browse files Browse the repository at this point in the history
  • Loading branch information
akai committed Jul 12, 2022
1 parent 1ead654 commit e23f952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Toast/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function renderIcon(type: string) {
case 'success':
return <Icon type="check-circle" />;
case 'error':
return <Icon type="close-circle" />;
return <Icon type="warning-circle" />;
case 'loading':
return <Icon type="spinner" spin />;
default:
Expand Down

0 comments on commit e23f952

Please sign in to comment.