# Yjs: it feels like the shared state has diverged?

**URL:** <https://forum.delta.chat/t/yjs-it-feels-like-the-shared-state-has-diverged/4144>\
**Category:** Mini Apps\
**Created:** [September 26, 2025, 8:17pm UTC](https://forum.delta.chat/t/yjs-it-feels-like-the-shared-state-has-diverged/4144 "2025-09-26T20:17:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![WofWca](https://forum.delta.chat/user_avatar/forum.delta.chat/wofwca/32/1702_2.png) [@WofWca](https://forum.delta.chat/u/WofWca)\
**Post date:** [September 27, 2025, 8:22am UTC](https://forum.delta.chat/t/yjs-it-feels-like-the-shared-state-has-diverged/4144/3 "2025-09-27T08:22:17Z")

</div>

I believe you need to change [this line](https://codeberg.org/bespinas/divvy-bill/src/commit/e88d530d1b9fd3c0291c1ae92ca6643e45e7d12e/js/ystore.js#L20).

```diff
-const document = titleText || "New project";
+const document = titleText.toString() || "New project";

```

> **[Y.Text | Yjs Docs](https://docs.yjs.dev/api/shared-types/y.text)**
>
> A shared type that represents Text & RichText

---

_[View the full topic](https://forum.delta.chat/t/yjs-it-feels-like-the-shared-state-has-diverged/4144)._
