mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
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:
parent
4dae897265
commit
953707103f
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue