Small quality improvement related to the log window

master
WolverinDEV 2021-07-11 14:22:48 +02:00
parent 547a5224b5
commit 7aff2ad234
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ const ServerLogRenderer = (props: { backlog?: number }) => {
logs.splice(0, Math.max(0, logs.length - backlog)); logs.splice(0, Math.max(0, logs.length - backlog));
logs.sort((a, b) => a.timestamp - b.timestamp); logs.sort((a, b) => a.timestamp - b.timestamp);
setRevision(performance.now()); setRevision(performance.now());
}); }, logs !== "loading", [ logs ]);
const fixScroll = () => { const fixScroll = () => {
if(!refContainer.current) { if(!refContainer.current) {