Skip to content

Commit b54966e

Browse files
committed
fix(MessageViewButton): correct tooltips (#6766)
Fixes #6594
1 parent 6c095de commit b54966e

File tree

1 file changed

+3
-3
lines changed
  • packages/main/src/components/MessageViewButton

1 file changed

+3
-3
lines changed

packages/main/src/components/MessageViewButton/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ const getTypes = (type: MessageViewButtonProptypes['type']): Types => {
3939
case ValueState.Error:
4040
return { icon: errorIcon, i18nLabel: ERROR_TYPE };
4141
case ValueState.Success:
42-
return { icon: sysEnter2Icon, i18nLabel: WARNING_TYPE };
42+
return { icon: sysEnter2Icon, i18nLabel: SUCCESS_TYPE };
4343
case ValueState.Warning:
44-
return { icon: alertIcon, i18nLabel: INFORMATION_TYPE };
44+
return { icon: alertIcon, i18nLabel: WARNING_TYPE };
4545
default:
46-
return { icon: informationIcon, i18nLabel: SUCCESS_TYPE };
46+
return { icon: informationIcon, i18nLabel: INFORMATION_TYPE };
4747
}
4848
};
4949

0 commit comments

Comments
 (0)