Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#81276)

hermes-seaeye[bot]005421d888a4
diff --git a/apps/desktop/src/app/session/hooks/use-prompt-actions/rewind.ts b/apps/desktop/src/app/session/hooks/use-prompt-actions/rewind.ts
index c2c2560387d..0cb68d03e26 100644
--- a/apps/desktop/src/app/session/hooks/use-prompt-actions/rewind.ts
+++ b/apps/desktop/src/app/session/hooks/use-prompt-actions/rewind.ts
@@ -91,18 +91,13 @@ export async function runRewindSubmit(
)
const submit = async () => {
- const { sessionId: usedId } = await withSessionNotFoundResume(
- liveSessionId,
- recovery?.storedSessionId,
- submitFor,
- {
- requestGateway,
- onRecovered: recoveredId => {
- liveSessionId = recoveredId
- recovery?.onSessionRecovered?.(recoveredId)
- }
+ const { sessionId: usedId } = await withSessionNotFoundResume(liveSessionId, recovery?.storedSessionId, submitFor, {
+ requestGateway,
+ onRecovered: recoveredId => {
+ liveSessionId = recoveredId
+ recovery?.onSessionRecovered?.(recoveredId)
}
- )
+ })
liveSessionId = usedId
}