corp-chat-library-antd-react-socket 1.2.1 → 1.2.2

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9074,7 +9074,7 @@ function Oh({ chatId: e }) {
9074
9074
  A && A?.user && o(A?.user?.id);
9075
9075
  }, [A]), de(() => {
9076
9076
  t.current && v.length > 0 && !p && (t.current.scrollTop = t.current.scrollHeight, m(!0));
9077
- }, [v, p]), de(() => {
9077
+ }, [v]), de(() => {
9078
9078
  m(!1);
9079
9079
  }, [e]), de(() => {
9080
9080
  g(c?.total - c?.messages?.length > 0);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "corp-chat-library-antd-react-socket",
3
3
  "description": "React chat component with Ant Design and Socket.io support",
4
- "version": "1.2.1",
4
+ "version": "1.2.2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",