From 96db67b849e78d9c4c0bc0e1efc6dc95f22bcbcc Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2026 23:12:24 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#72967) Co-authored-by: github-actions[bot] --- apps/desktop/src/app/chat/composer/index.tsx | 10 +--------- .../src/app/session/hooks/use-preview-routing.ts | 6 +----- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/apps/desktop/src/app/chat/composer/index.tsx b/apps/desktop/src/app/chat/composer/index.tsx index 91029f83de7..18aa1b97801 100644 --- a/apps/desktop/src/app/chat/composer/index.tsx +++ b/apps/desktop/src/app/chat/composer/index.tsx @@ -1,14 +1,6 @@ import { ComposerPrimitive } from '@assistant-ui/react' import { useStore } from '@nanostores/react' -import { - type ClipboardEvent, - type FormEvent, - type KeyboardEvent, - useCallback, - useEffect, - useMemo, - useRef -} from 'react' +import { type ClipboardEvent, type FormEvent, type KeyboardEvent, useCallback, useEffect, useMemo, useRef } from 'react' import { composerFill, composerSurfaceGlass } from '@/components/chat/composer-dock' import { Button } from '@/components/ui/button' diff --git a/apps/desktop/src/app/session/hooks/use-preview-routing.ts b/apps/desktop/src/app/session/hooks/use-preview-routing.ts index eaf0eb3cca6..409cb51c050 100644 --- a/apps/desktop/src/app/session/hooks/use-preview-routing.ts +++ b/apps/desktop/src/app/session/hooks/use-preview-routing.ts @@ -26,11 +26,7 @@ function asRecord(payload: unknown): Record { return payload && typeof payload === 'object' ? (payload as Record) : {} } -export function usePreviewRouting({ - baseHandleGatewayEvent, - currentCwd, - requestGateway -}: PreviewRoutingOptions) { +export function usePreviewRouting({ baseHandleGatewayEvent, currentCwd, requestGateway }: PreviewRoutingOptions) { const restartPreviewServer = useCallback( async (url: string, context?: string) => { const sessionId = $focusedRuntimeId.get()