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

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
nousbot-eng 2026-07-19 00:11:15 -04:00 committed by GitHub
parent 7db2decbea
commit ffc69c184b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 11 deletions

View file

@ -233,13 +233,7 @@ export function useSessionActions({
if (routedStoredSessionId === storedIdRotation.previousStoredSessionId) {
navigate(sessionRoute(storedIdRotation.nextStoredSessionId), { replace: true })
}
}, [
activeSessionIdRef,
getRoutedStoredSessionId,
navigate,
selectedStoredSessionIdRef,
storedIdRotation
])
}, [activeSessionIdRef, getRoutedStoredSessionId, navigate, selectedStoredSessionIdRef, storedIdRotation])
const startFreshSessionDraft = useCallback(
(options: boolean | FreshSessionDraftOptions = false) => {

View file

@ -43,7 +43,9 @@ describe('useSessionStateCache — stored-id rotation provenance', () => {
let cache!: Cache
setActiveSessionId('runtime-A')
render(<Harness activeSessionId="runtime-A" onReady={value => (cache = value)} selectedStoredSessionId="stored-A" />)
render(
<Harness activeSessionId="runtime-A" onReady={value => (cache = value)} selectedStoredSessionId="stored-A" />
)
act(() => {
cache.updateSessionState('runtime-A', state => state, 'stored-A')
@ -63,7 +65,9 @@ describe('useSessionStateCache — stored-id rotation provenance', () => {
let cache!: Cache
setActiveSessionId('runtime-B')
render(<Harness activeSessionId="runtime-B" onReady={value => (cache = value)} selectedStoredSessionId="stored-B" />)
render(
<Harness activeSessionId="runtime-B" onReady={value => (cache = value)} selectedStoredSessionId="stored-B" />
)
act(() => {
cache.updateSessionState('runtime-A', state => state, 'stored-A')

View file

@ -39,8 +39,7 @@ describe('reactive unhide in a shared (Focus) group', () => {
)
)
const activeOf = (paneId: string) =>
model.findGroupOfPane(tree.$layoutTree.get()!, paneId)?.active ?? null
const activeOf = (paneId: string) => model.findGroupOfPane(tree.$layoutTree.get()!, paneId)?.active ?? null
return { activeOf, tree }
}