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}> text={badge.badge_name}>
{({ onMouseEnter, onMouseLeave }) => ( {({ onMouseEnter, onMouseLeave }) => (
<img <img
width="22px" width="24px"
height="22px" height="24px"
onMouseEnter={onMouseEnter} onMouseEnter={onMouseEnter}
onMouseLeave={onMouseLeave} onMouseLeave={onMouseLeave}
src={badge.badge_icon} src={badge.badge_icon}
alt={badge.badge_description}
style={{ verticalAlign: "middle", marginLeft: "4px" }} style={{ verticalAlign: "middle", marginLeft: "4px" }}
onClick={() => onClick={() =>
MaskedLinkStore.openUntrustedLink({ MaskedLinkStore.openUntrustedLink({

View file

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