l-min-components 1.0.475 → 1.0.480
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/package.json
CHANGED
|
@@ -111,10 +111,7 @@ const Messages = ({
|
|
|
111
111
|
|
|
112
112
|
useEffect(() => {
|
|
113
113
|
// setRightLayout(false);
|
|
114
|
-
|
|
115
|
-
setRoomID(`${accountID}.${userID}`)
|
|
116
|
-
}
|
|
117
|
-
}, [userID]);
|
|
114
|
+
}, []);
|
|
118
115
|
|
|
119
116
|
// use effects for successful responses***
|
|
120
117
|
useEffect(() => {
|
|
@@ -156,9 +153,9 @@ const Messages = ({
|
|
|
156
153
|
|
|
157
154
|
console.log("clearChatData", clearChatData);
|
|
158
155
|
|
|
159
|
-
useEffect(() => {
|
|
160
|
-
|
|
161
|
-
}, [roomRecipientDetailsData?.data]);
|
|
156
|
+
// useEffect(() => {
|
|
157
|
+
// setUserID(roomRecipientDetailsData?.data?.id);
|
|
158
|
+
// }, [roomRecipientDetailsData?.data]);
|
|
162
159
|
|
|
163
160
|
useEffect(() => {
|
|
164
161
|
handleRoomMessage(roomID);
|