Skip to content

Commit

Permalink
chore: console.log ์ œ๊ฑฐ
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovico7 committed Dec 2, 2024
1 parent 1fc8348 commit 39f8356
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const App = () => {
const socketStore = useSocketStore.getState();
const savedWorkspace = sessionStorage.getItem("currentWorkspace");
const workspaceId = savedWorkspace ? JSON.parse(savedWorkspace).id : null;
console.log(workspaceId);
socketStore.init(userId, workspaceId);

return () => {
Expand Down
1 change: 0 additions & 1 deletion client/src/features/editor/hooks/useEditorOperation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ export const useEditorOperation = ({
if (targetBlock) {
if (targetBlock === editorCRDT.current.currentBlock) {
isSameLocalChange.current = true;
console.log("isSameLocalChange", isSameLocalChange.current);
}
const insertPosition = getPositionById(targetBlock.crdt.LinkedList, operation.node.prev);
const { currentCaret } = targetBlock.crdt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ export const OnboardingOverlay = ({ isShow }: OnboardingOverlayProps) => {
}
}, [isShow]);

useEffect(() => {
console.log("Onboarding state:", { isShow, isVisible, currentStep });
}, [isShow, isVisible, currentStep]);

const handleClose = () => {
if (currentStep < steps.length - 1) {
setCurrentStep((prev) => prev + 1);
Expand All @@ -92,7 +88,6 @@ export const OnboardingOverlay = ({ isShow }: OnboardingOverlayProps) => {
const getTargetPosition = (selector: string) => {
const element = document.querySelector(selector);
if (!element) {
console.log(`Element not found: ${selector}`);
return null;
}

Expand Down
1 change: 0 additions & 1 deletion server/src/workspace/workspace.gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,6 @@ export class WorkspaceGateway implements OnGatewayInit, OnGatewayConnection, OnG
}
currentBlock.crdt.remoteInsert(data);

console.log("data", data);
// server๋Š” EditorCRDT ์—†์Šต๋‹ˆ๋‹ค. - BlockCRDT ๋กœ ์‚ฌ์šฉ๋˜๊ณ ์žˆ์Œ.
const operation = {
type: "charInsert",
Expand Down

0 comments on commit 39f8356

Please sign in to comment.