chore: localStorage -> tauri store
This commit is contained in:
parent
9c2ee8320e
commit
b860ff8901
16 changed files with 89 additions and 35 deletions
|
|
@ -102,7 +102,9 @@ export function SessionTurn(
|
|||
setState("autoScrolled", true)
|
||||
requestAnimationFrame(() => {
|
||||
scrollRef?.scrollTo({ top: scrollRef.scrollHeight, behavior: "smooth" })
|
||||
setState("autoScrolled", false)
|
||||
requestAnimationFrame(() => {
|
||||
setState("autoScrolled", false)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue