Skip to content

Commit

Permalink
fix keyword symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyichen committed Jan 10, 2025
1 parent 82a73e4 commit 91f903b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/abs/[id]/abstract.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ const PlanetaryFeatures = memo(({ features, ids }: { features: Array<string>; id
newTab
_hover={{ textDecor: 'underline' }}
>
{feature.replaceAll('/', ' < ')}
{feature.replaceAll('/', ' > ')}
</SimpleLink>
<HStack spacing="1">
<SearchQueryLink
Expand Down Expand Up @@ -459,8 +459,8 @@ export const getServerSideProps: GetServerSideProps = composeNextGSSP(async (ctx
const shortenKeyword = (keyword: string) => {
const words = keyword.split('/');
if (words.length <= 2) {
return words.join(' < ');
return words.join(' > ');
} else {
return `${words[0]} < ... < ${words[words.length - 1]}`;
return `${words[0]} > ... > ${words[words.length - 1]}`;
}
};

0 comments on commit 91f903b

Please sign in to comment.