From f45c03d0610c0fab65763f88fe472df19ec98a9c Mon Sep 17 00:00:00 2001 From: Youngteac Hong Date: Fri, 25 Oct 2024 17:44:35 +0900 Subject: [PATCH] Disable devtools (#383) --- .husky/pre-commit | 2 +- frontend/src/hooks/useYorkieDocument.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d39179a8..9d94235f 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -31,4 +31,4 @@ if [ "$LINT_BACKEND" = true ]; then exit 1 fi cd .. -fi \ No newline at end of file +fi diff --git a/frontend/src/hooks/useYorkieDocument.ts b/frontend/src/hooks/useYorkieDocument.ts index d853bd31..ef73d1d7 100644 --- a/frontend/src/hooks/useYorkieDocument.ts +++ b/frontend/src/hooks/useYorkieDocument.ts @@ -41,7 +41,7 @@ export const useYorkieDocument = ( const newDocument = new yorkie.Document< YorkieCodeMirrorDocType, YorkieCodeMirrorPresenceType - >(yorkieDocumentId, { enableDevtools: true }); + >(yorkieDocumentId, { enableDevtools: false }); return client.attach(newDocument, { initialPresence: { name: presenceName,