Skip to content

Commit 08fefab

Browse files
author
Jicheng Lu
committed
fix typo
1 parent 1653851 commit 08fefab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/chat/[agentId]/[conversationId]/chat-box.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@
487487
488488
elements.forEach(item => {
489489
const scrollElement = document.querySelector(item.wrapperName);
490-
const logScoll = OverlayScrollbars(scrollElement, options);
491-
const { viewport } = logScoll.elements();
490+
const logScroll = OverlayScrollbars(scrollElement, options);
491+
const { viewport } = logScroll.elements();
492492
viewport.scrollTo({ top: item.elm.offsetTop, behavior: 'smooth' });
493493
});
494494
}

0 commit comments

Comments
 (0)