diff --git a/src/components/Ellipsis/index.js b/src/components/Ellipsis/index.js index 93c5c235dffda599bb0e59162ade8a2abb03642b..671bc453098b2af4071bbe823dac989949701da7 100644 --- a/src/components/Ellipsis/index.js +++ b/src/components/Ellipsis/index.js @@ -20,7 +20,7 @@ const EllipsisText = ({ text, length, tooltip, ...other }) => { if (length - tail.length <= 0) { displayText = ''; } else { - displayText = text.slice(0, length - tail.length); + displayText = text.slice(0, length); } if (tooltip) {