This commit is contained in:
Manti 2022-12-09 19:27:21 +03:00
parent f8b026dbae
commit ef37f5772e
2 changed files with 4 additions and 2 deletions

View file

@ -26,11 +26,12 @@ export default function ReviewBadge(badge: Badge) {
text={badge.badge_name}>
{({ onMouseEnter, onMouseLeave }) => (
<img
width="22px"
height="22px"
width="24px"
height="24px"
onMouseEnter={onMouseEnter}
onMouseLeave={onMouseLeave}
src={badge.badge_icon}
alt={badge.badge_description}
style={{ verticalAlign: "middle", marginLeft: "4px" }}
onClick={() =>
MaskedLinkStore.openUntrustedLink({

View file

@ -19,6 +19,7 @@
export interface Badge {
badge_name: string;
badge_description: string;
badge_icon: string;
redirect_url: string;
badge_type: number;