Skip to content

Commit

Permalink
fix: increase truncate string number of words (#268)
Browse files Browse the repository at this point in the history
closes #247
  • Loading branch information
OgDev-01 committed Aug 26, 2022
1 parent a23fe4b commit ab47a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/molecules/SelectableTable/repository-table.tsx
Expand Up @@ -90,7 +90,7 @@ const RepoSelectableTable: React.FC<RepoSelectableTableProps> = ({ title, tableT
}}
>
<td className="flex flex-row text-left p-2" ref={(element) => addCheckboxToRef(element)}>
<Checkbox label="" /> {divSize > 0 && divSize < 350 ? truncateString(name, 3) : name}
<Checkbox label="" /> {divSize > 0 && divSize < 350 ? truncateString(name, 9) : name}
</td>
<td className="text-right p-2">{humanizeNumber(stars)}</td>
<td className="text-right p-2">{humanizeNumber(12)}</td>
Expand Down

0 comments on commit ab47a96

Please sign in to comment.