@selfcommunity/react-ui 0.7.0-alpha.359 → 0.7.0-alpha.360
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.
|
@@ -291,9 +291,6 @@ function PrivateMessageThread(inProps) {
|
|
|
291
291
|
utils_1.Logger.error(Errors_1.SCOPE_SC_UI, { error });
|
|
292
292
|
});
|
|
293
293
|
}
|
|
294
|
-
else {
|
|
295
|
-
setSingleMessageUser(scUser);
|
|
296
|
-
}
|
|
297
294
|
}
|
|
298
295
|
const isNewerThan60Seconds = (creationTime) => {
|
|
299
296
|
const date = new Date(creationTime);
|
|
@@ -414,7 +411,7 @@ function PrivateMessageThread(inProps) {
|
|
|
414
411
|
else {
|
|
415
412
|
reset();
|
|
416
413
|
}
|
|
417
|
-
}, [userObj, authUserId]);
|
|
414
|
+
}, [userObj, authUserId, scUser]);
|
|
418
415
|
/**
|
|
419
416
|
* Notification subscriber
|
|
420
417
|
*/
|
|
@@ -289,9 +289,6 @@ export default function PrivateMessageThread(inProps) {
|
|
|
289
289
|
Logger.error(SCOPE_SC_UI, { error });
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
|
-
else {
|
|
293
|
-
setSingleMessageUser(scUser);
|
|
294
|
-
}
|
|
295
292
|
}
|
|
296
293
|
const isNewerThan60Seconds = (creationTime) => {
|
|
297
294
|
const date = new Date(creationTime);
|
|
@@ -412,7 +409,7 @@ export default function PrivateMessageThread(inProps) {
|
|
|
412
409
|
else {
|
|
413
410
|
reset();
|
|
414
411
|
}
|
|
415
|
-
}, [userObj, authUserId]);
|
|
412
|
+
}, [userObj, authUserId, scUser]);
|
|
416
413
|
/**
|
|
417
414
|
* Notification subscriber
|
|
418
415
|
*/
|