Skip to content

Commit cf425d1

Browse files
authored
fix(app): stale show (#16236)
1 parent 39691e5 commit cf425d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/app/src/pages/session/message-timeline.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { For, createEffect, createMemo, on, onCleanup, Show, startTransition, Index, type JSX } from "solid-js"
1+
import { For, createEffect, createMemo, on, onCleanup, Show, Index, type JSX } from "solid-js"
22
import { createStore, produce } from "solid-js/store"
33
import { useNavigate, useParams } from "@solidjs/router"
44
import { Button } from "@opencode-ai/ui/button"
@@ -160,7 +160,7 @@ function createTimelineStaging(input: TimelineStageInput) {
160160
}
161161
const currentTotal = input.messages().length
162162
count = Math.min(currentTotal, count + input.config.batch)
163-
startTransition(() => setState("count", count))
163+
setState("count", count)
164164
if (count >= currentTotal) {
165165
setState({ completedSession: sessionKey, activeSession: "" })
166166
frame = undefined

0 commit comments

Comments
 (0)