Skip to content

Commit

Permalink
fix confilcs
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeBu committed Feb 19, 2025
1 parent 927b799 commit 01e5260
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/src/ui/shared/AuthorCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function AuthorCard(props: Props) {
);
})}
<div className={classes.externalLinkButtons}>
<LogoURLButton url={author.url} labelFromURL={true}></LogoURLButton>
<LogoURLButton url={author.url} labelFromURL={true} />
</div>
</Card>
);
Expand Down
6 changes: 3 additions & 3 deletions web/src/ui/shared/LogoURLButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,14 @@ export function LogoURLButton(props: Props) {
href: urlString
}}
>
{URLlogo && <img alt="logo site" src={URLlogo.href} height="20px"></img>}
{URLlogo && <img alt="logo site" src={URLlogo.href} height="20px" />}
<p className={classes.linkContent}>{resolvedLabel}</p>
</Button>
);
}

const useStyles = tss.withName({ LogoURLButton }).create({
"linkContent": {
"marginLeft": "7px"
linkContent: {
marginLeft: "7px"
}
});

0 comments on commit 01e5260

Please sign in to comment.