Skip to content

Commit

Permalink
Bump up Yorkie to v0.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins committed Aug 25, 2023
1 parent cb2a4e5 commit 4d2fa04
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"remark-toc": "^8.0.1",
"tss-react": "^4.8.2",
"unique-names-generator": "^4.7.1",
"yorkie-js-sdk": "^0.4.5"
"yorkie-js-sdk": "^0.4.6"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function BaseEditor(props: { docKey: string }) {
dispatch(setStatus(DocStatus.Disconnect));
} else if (
status === DocStatus.Disconnect &&
(event.type === 'documents-changed' ||
(event.type === 'document-changed' ||
(event.type === 'status-changed' && event.value === 'activated') ||
(event.type === 'stream-connection-status-changed' && event.value === 'connected') ||
(event.type === 'document-synced' && event.value === 'synced'))
Expand Down

0 comments on commit 4d2fa04

Please sign in to comment.