mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-25 07:48:32 +00:00
FİX
This commit is contained in:
parent
f8b026dbae
commit
ef37f5772e
2 changed files with 4 additions and 2 deletions
|
@ -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({
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue