mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
fix refactoring bug
This commit is contained in:
parent
d4b18eae81
commit
d0b420f383
@ -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>
|
||||
)
|
||||
})}
|
||||
|
Loading…
Reference in New Issue
Block a user