mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
GridBuffer: deduplicate empty lines
This commit is contained in:
parent
a3fdb236d2
commit
ae4bdf5983
3 changed files with 19 additions and 11 deletions
|
|
@ -7,7 +7,7 @@ export default function TextMessage ({ style, text }) {
|
|||
</span>)
|
||||
|
||||
return ({
|
||||
grid: (<div>{text} </div>),
|
||||
grid: (text?.length > 0 ? <div>{text}</div> : <br />),
|
||||
input: (<span className='message input'>> {text}</span>),
|
||||
subheader: (<strong className='message subheader'>{text}</strong>),
|
||||
emphasized: (<em className='message emphasized'>{text}</em>),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue