chore: localStorage -> tauri store
This commit is contained in:
parent
2a3a8a1ec2
commit
4a3ba58f65
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