Skip to content

Commit

Permalink
regression
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxn committed Feb 26, 2025
1 parent e667340 commit eca7655
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions frontend/src/components/Shared/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,22 +119,7 @@ const mapStateToProps = (state) => ({
export const ExtCommunityLink = connect(mapStateToProps)(CommunityLink);

export function ExtInstanceLink({ instance, ...props }) {
return (
<ExtLink
linkName={instance.name}
linkUrl={instance.url}
style={{
fontWeight: "bold",
fontSize: "14px",
overflow: "hidden",
whiteSpace: "nowrap",

textOverflow: "ellipsis",
pb: 0.5,
}}
{...props}
/>
);
return <ExtLink linkName={instance.name} linkUrl={instance.url} {...props} />;
}

export function ExtLink({ linkName, linkUrl, target = "_blank", ...props }) {
Expand Down

0 comments on commit eca7655

Please sign in to comment.