mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
fix refactoring bug
This commit is contained in:
@@ -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>
|
||||
)
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user