chore: comment removed
This commit is contained in:
parent
c10ec6347e
commit
618ba3ae02
@ -217,7 +217,6 @@ export function ClipboardHistoryLargeViewComponent({
|
|||||||
<code className={`${className}`} style={style}>
|
<code className={`${className}`} style={style}>
|
||||||
{tokens
|
{tokens
|
||||||
.filter((line, i) => {
|
.filter((line, i) => {
|
||||||
// Remove last line if it's empty (only contains whitespace or newlines)
|
|
||||||
if (i === tokens.length - 1) {
|
if (i === tokens.length - 1) {
|
||||||
return line.some(token => token.content.trim() !== '')
|
return line.some(token => token.content.trim() !== '')
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user