fix(ui): fix console row expand method
This commit is contained in:
parent
4715b7a5bb
commit
d44af97efd
2 changed files with 3 additions and 3 deletions
|
|
@ -49,13 +49,13 @@ function ConsoleRow(props: Props) {
|
|||
)}
|
||||
<span>{renderWithNL(lines.pop())}</span>
|
||||
</div>
|
||||
{/* {canExpand &&
|
||||
{canExpand &&
|
||||
expanded &&
|
||||
lines.map((l: string, i: number) => (
|
||||
<div key={l.slice(0, 4) + i} className="ml-4 mb-1">
|
||||
{l}
|
||||
</div>
|
||||
))} */}
|
||||
))}
|
||||
</div>
|
||||
<JumpButton onClick={() => jump(log.time)} />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import React, { useMemo, useState } from 'react';
|
||||
import { observer } from 'mobx-react-lite';
|
||||
import { Duration } from 'luxon';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue