Skip to content

Commit

Permalink
chore: fix example type err
Browse files Browse the repository at this point in the history
  • Loading branch information
zxch3n committed Nov 7, 2023
1 parent 83ae593 commit cdc0846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/loro-quill/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import "quill/dist/quill.bubble.css";
import "quill/dist/quill.snow.css";
import { QuillBinding } from "./binding";
import { Loro, setPanicHook, convertVersionToReadableMap } from "loro-crdt";
import { Loro, setPanicHook, toReadableVersion } from "loro-crdt";
setPanicHook();
Expand Down Expand Up @@ -64,7 +64,7 @@
}
Promise.resolve().then(() => {
const version = text.version();
const map = convertVersionToReadableMap(version);
const map = toReadableVersion(version);
const versionObj = {};
for (const [key, value] of map) {
versionObj[key.toString()] = value;
Expand Down

0 comments on commit cdc0846

Please sign in to comment.