Skip to content

Commit

Permalink
Disable devtools (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins authored Oct 25, 2024
1 parent eda0444 commit f45c03d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ if [ "$LINT_BACKEND" = true ]; then
exit 1
fi
cd ..
fi
fi
2 changes: 1 addition & 1 deletion frontend/src/hooks/useYorkieDocument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f45c03d

Please sign in to comment.