fix(ui): fix console row expand method

This commit is contained in:
sylenien 2022-11-29 12:07:57 +01:00
parent 4715b7a5bb
commit d44af97efd
2 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

@ -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';