@natoe/colab 0.1.18 → 0.1.19
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/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4938,6 +4938,7 @@ function useInlineCollab({
|
|
|
4938
4938
|
}
|
|
4939
4939
|
try {
|
|
4940
4940
|
await socket.sendMessage(preview.conversationId, payload);
|
|
4941
|
+
setUnreadCount(0);
|
|
4941
4942
|
} catch (err) {
|
|
4942
4943
|
setError(err instanceof Error ? err.message : "Failed to send message");
|
|
4943
4944
|
config.onError?.({
|
|
@@ -5269,8 +5270,6 @@ function InlineInputBar({
|
|
|
5269
5270
|
}
|
|
5270
5271
|
}
|
|
5271
5272
|
),
|
|
5272
|
-
unreadCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { style: styles14.unreadBadge, title: `${unreadCount} unread`, children: unreadCount > 99 ? "99+" : unreadCount }),
|
|
5273
|
-
isLive && /* @__PURE__ */ jsxRuntime.jsx("span", { style: styles14.liveDot, title: "Live updates active" }),
|
|
5274
5273
|
text.trim() && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5275
5274
|
"button",
|
|
5276
5275
|
{
|
|
@@ -5282,6 +5281,8 @@ function InlineInputBar({
|
|
|
5282
5281
|
children: "\u27A4"
|
|
5283
5282
|
}
|
|
5284
5283
|
),
|
|
5284
|
+
unreadCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { style: styles14.unreadBadge, title: `${unreadCount} unread`, children: unreadCount > 99 ? "99+" : unreadCount }),
|
|
5285
|
+
isLive && /* @__PURE__ */ jsxRuntime.jsx("span", { style: styles14.liveDot, title: "Live updates active" }),
|
|
5285
5286
|
showExpand && onExpand && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5286
5287
|
"button",
|
|
5287
5288
|
{
|