From d0b420f383d1d670c25ee90216ac0045fba3ebc0 Mon Sep 17 00:00:00 2001
From: Clemens <cle1000.cb@gmail.com>
Date: Fri, 19 Aug 2016 09:58:29 +0200
Subject: fix refactoring bug

---
 web/src/js/components/ContentView/ContentViews.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'web/src/js/components/ContentView/ContentViews.jsx')

diff --git a/web/src/js/components/ContentView/ContentViews.jsx b/web/src/js/components/ContentView/ContentViews.jsx
index 5b07969c..32a07564 100644
--- a/web/src/js/components/ContentView/ContentViews.jsx
+++ b/web/src/js/components/ContentView/ContentViews.jsx
@@ -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>
                                 )
                             })}
-- 
cgit v1.2.3

