mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
fix: message order ascending
This commit is contained in:
parent
2a9269c347
commit
b34f434332
4 changed files with 6 additions and 6 deletions
|
|
@ -15,7 +15,7 @@ export function MessageNav(
|
|||
) {
|
||||
const [local, others] = splitProps(props, ["messages", "current", "size", "working", "onMessageSelect"])
|
||||
const lastUserMessage = createMemo(() => {
|
||||
return local.messages?.at(0)
|
||||
return local.messages?.at(-1)
|
||||
})
|
||||
|
||||
const content = () => (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue