diff --git a/client/src/features/editor/hooks/useCopyAndPaste.ts b/client/src/features/editor/hooks/useCopyAndPaste.ts index 36ab6d4..acc8d8a 100644 --- a/client/src/features/editor/hooks/useCopyAndPaste.ts +++ b/client/src/features/editor/hooks/useCopyAndPaste.ts @@ -139,7 +139,6 @@ export const useCopyAndPaste = ({ ); const textList = text.split("\n"); textList.forEach((line, index) => { - console.log(line); if (index === 0) { line.split("").forEach((char, index) => { const charNode = block.crdt.localInsert(index, char, block.id, pageId); diff --git a/client/src/features/editor/hooks/useEditorOperation.ts b/client/src/features/editor/hooks/useEditorOperation.ts index 8fd4616..6cf9cdf 100644 --- a/client/src/features/editor/hooks/useEditorOperation.ts +++ b/client/src/features/editor/hooks/useEditorOperation.ts @@ -181,9 +181,7 @@ export const useEditorOperation = ({ [pageId, editorCRDT], ); - const handleRemoteCursor = useCallback((position: any) => { - console.log(position, "커서위치 수신"); - }, []); + const handleRemoteCursor = useCallback((position: any) => {}, []); const addNewBlock = () => { if (!editorCRDT) return; diff --git a/client/src/stores/useSocketStore.ts b/client/src/stores/useSocketStore.ts index e48e227..3d74447 100644 --- a/client/src/stores/useSocketStore.ts +++ b/client/src/stores/useSocketStore.ts @@ -166,14 +166,11 @@ export const useSocketStore = create((set, get) => ({ set({ socket }); }); - socket.on("disconnect", () => { - console.log("Disconnected from server"); - }); + socket.on("disconnect", () => {}); socket.on("workspace/list", (workspaces: WorkspaceListItem[]) => { set({ availableWorkspaces: workspaces }); const { availableWorkspaces } = get(); - console.log(availableWorkspaces); const { workspace } = get(); const currentWorkspace = availableWorkspaces.find((ws) => ws.id === workspace!.id); if (currentWorkspace) {