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