fix refactoring bug

This commit is contained in:
Clemens 2016-08-19 09:58:29 +02:00
parent d4b18eae81
commit d0b420f383

View File

@ -67,10 +67,10 @@ class ViewServer extends Component {
{lines.map((line, i) =>
<div key={`line${i}`}>
{line.map((element, j) => {
let style, text = element
let [style, text] = element
return (
<span key={`tuple${j}`} className={style}>
{element}
{text}
</span>
)
})}