1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-10 07:50:05 +00:00

fix(log): fixed single chunk display

This commit is contained in:
Yury Shkoda
2023-04-18 15:46:53 +03:00
parent 75f5a3c0b3
commit 8254b78955
3 changed files with 23 additions and 13 deletions

View File

@@ -47,7 +47,6 @@ const LogComponent = (props: LogComponentProps) => {
const [logChunksState, setLogChunksState] = useState<boolean[]>(
new Array(logChunks.length).fill(false)
)
const [scrollToLogInstance, setScrollToLogInstance] = useState<LogInstance>()
const [oldestExpandedChunk, setOldestExpandedChunk] = useState<number>(
logChunksState.length - 1