chat: hoon eval preserves whitespace

This commit is contained in:
Matilde Park 2020-10-21 13:17:22 -04:00
parent a580f1fba4
commit b97f94a56a

View File

@ -19,6 +19,7 @@ export default class CodeContent extends Component {
overflow='auto'
maxHeight='10em'
maxWidth='100%'
style={{ whiteSpace: 'pre' }}
backgroundColor='scales.black10'
>
{content.code.output[0].join('\n')}
@ -36,6 +37,7 @@ export default class CodeContent extends Component {
overflow='auto'
maxHeight='10em'
maxWidth='100%'
style={{ whiteSpace: 'pre' }}
>
{content.code.expression}
</Text>