touchstudy-core 0.1.15 → 0.1.16

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 CHANGED
@@ -2316,7 +2316,8 @@ var ChatRightItem = function ChatRightItem(_ref) {
2316
2316
  width: "200px",
2317
2317
  height: "200px",
2318
2318
  position: "relative",
2319
- backgroundSize: "cover"
2319
+ backgroundSize: "cover",
2320
+ objectFit: "cover"
2320
2321
  }
2321
2322
  }) : React__default.createElement("div", {
2322
2323
  className: styles["wrap-content"] + " " + styles["content-chat-receiver"],
@@ -2386,7 +2387,8 @@ var ChatLeftItem = function ChatLeftItem(_ref) {
2386
2387
  width: "200px",
2387
2388
  height: "200px",
2388
2389
  position: "relative",
2389
- backgroundSize: "cover"
2390
+ backgroundSize: "cover",
2391
+ objectFit: "cover"
2390
2392
  }
2391
2393
  }) : React__default.createElement("div", {
2392
2394
  className: styles["wrap-content"] + " " + styles["content-chat-sender"]
@@ -3298,7 +3300,7 @@ var useChatContainer = function useChatContainer(props) {
3298
3300
  });
3299
3301
  });
3300
3302
  return results;
3301
- }, [JSON.stringify(messages)]);
3303
+ }, [JSON.stringify(messages), infoUser === null || infoUser === void 0 ? void 0 : infoUser.id]);
3302
3304
  React.useEffect(function () {
3303
3305
  getMessageConversation();
3304
3306
  }, [JSON.stringify(selectedConversation)]);