diff --git a/ui/src/components/search.tsx b/ui/src/components/search.tsx index dd219ba96..c4cb97454 100644 --- a/ui/src/components/search.tsx +++ b/ui/src/components/search.tsx @@ -282,9 +282,6 @@ export class Search extends Component { }} /> - {` - ${ - (i.data as UserView).comment_score - } comment karma`} )} @@ -359,12 +356,13 @@ export class Search extends Component {
- {`/u/${user.name}`} + - {` - ${user.comment_score} comment karma`}
))} diff --git a/ui/src/components/user-listing.tsx b/ui/src/components/user-listing.tsx index 58475d3e9..76196d47d 100644 --- a/ui/src/components/user-listing.tsx +++ b/ui/src/components/user-listing.tsx @@ -52,7 +52,7 @@ export class UserListing extends Component { class="rounded-circle mr-2" /> )} - {name_} + {`/u/${name_}`} {isCakeDay(user.published) && }