fmt(js): npm run fix on merge (#71863)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
hermes-seaeye[bot] 2026-07-26 09:04:27 +00:00 committed by GitHub
parent 4dae897265
commit 953707103f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,10 +66,7 @@ const $primaryState = computed([$activeSessionId, $sessionStates], (runtimeId, s
* slice is authoritative a background session publishing its own state can
* never reach this view.
*/
function primaryField<T>(
select: (state: ClientSessionState) => T,
$draft: ReadableAtom<T>
): ReadableAtom<T> {
function primaryField<T>(select: (state: ClientSessionState) => T, $draft: ReadableAtom<T>): ReadableAtom<T> {
const $field: ReadableAtom<T> = computed([$primaryState, $draft], (state, draft: T) =>
state ? select(state) : draft
)