Skip to content

Commit

Permalink
Revert "fix: replace trimEnd to trim (#251)"
Browse files Browse the repository at this point in the history
This reverts commit b6ef27c.
  • Loading branch information
JeikZim authored Jul 22, 2024
1 parent ccb23c7 commit 6de81c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SubNavigation/SubNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export const SubNavigation = ({
</div>
<span className={b('title')}>
{title && title.length > 30
? title.substring(0, 30).trim().concat('...')
? title.substring(0, 30).trimEnd().concat('...')
: title ?? ''}
</span>
</button>
Expand Down

0 comments on commit 6de81c5

Please sign in to comment.