wordinweb 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/collab.js CHANGED
@@ -4735,7 +4735,7 @@ function CollabEditor(opts) {
4735
4735
  const session = useCollab(opts);
4736
4736
  useEffect(() => {
4737
4737
  opts.onSession?.(session);
4738
- }, [session.version, session.ready, session.refused, session.roster, session.epochChanged, session.sessionWarning, session.writesBlocked, session.connection]);
4738
+ }, [session.version, session.ready, session.refused, session.roster, session.epochChanged, session.sessionWarning, session.writesBlocked, session.connection, session.persistErrors]);
4739
4739
  const [api, setApi] = useState(null);
4740
4740
  const pendingCaretRef = useRef(null);
4741
4741
  const seenEpochRef = useRef(session.docEpoch);