Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: remove console log (#2202)

Eric Hayes988637054680
diff --git a/js/app/packages/app/component/SoupChatInput.tsx b/js/app/packages/app/component/SoupChatInput.tsx
index 9809129534..c47830737d 100644
--- a/js/app/packages/app/component/SoupChatInput.tsx
+++ b/js/app/packages/app/component/SoupChatInput.tsx
@@ -1,5 +1,5 @@
-import { useSoup } from '@app/component/next-soup/soup-context';
import { useAnalytics } from '@app/component/analytics-context';
+import { useSoup } from '@app/component/next-soup/soup-context';
import { buildChatEditor } from '@core/component/AI/component/input/buildChatEditor';
import type { ChatSendInput } from '@core/component/AI/component/input/buildRequest';
import {
@@ -8,13 +8,13 @@ import {
} from '@core/component/AI/context';
import { useGetChatAttachmentInfo } from '@core/component/AI/signal/attachment';
import { setPendingSendData } from '@core/component/AI/signal/pendingSend';
+import { deriveChatName } from '@core/component/AI/util/deriveName';
import { Hotkey } from '@core/component/Hotkey';
import { Tooltip } from '@core/component/Tooltip';
import { ENABLE_SNAPSHOT_NODE } from '@core/constant/featureFlags';
import { pressedKeys } from '@core/hotkey/state';
import { TOKENS } from '@core/hotkey/tokens';
import { isErr } from '@core/util/maybeResult';
-import { deriveChatName } from '@core/component/AI/util/deriveName';
import { createRenameDssEntityMutation } from '@macro-entity';
import { invalidateAllSoup } from '@queries/soup/cache';
import { cognitionApiServiceClient } from '@service-cognition/client';
@@ -162,10 +162,6 @@ function SoupChatInputInner() {
);
}
-document.addEventListener('focusin', (f) => console.log('focus changed', f));
-document.addEventListener('focusout', (f) => console.log('focus changed', f));
-document.addEventListener('focus', (f) => console.log('focus changed', f));
-
export function SoupChatInput() {
return (
<ChatInputProvider autoAttach={false}>