@pega/cosmos-react-social
Advanced tools
Comparing version 0.9.3 to 0.9.4
@@ -60,3 +60,3 @@ import React, { forwardRef, useEffect, useState } from 'react'; | ||
const prevCurrentReplyIndex = replies.indexOf(prevCurrentReply); | ||
if (prevCurrentReplyIndex - 1 <= 0 && replies.length > 0) { | ||
if (prevCurrentReplyIndex - 1 >= 0 && replies.length > 0) { | ||
return replies[prevCurrentReplyIndex - 1]; | ||
@@ -63,0 +63,0 @@ } |
@@ -36,7 +36,7 @@ import React, { forwardRef } from 'react'; | ||
}, variant: variant }, restProps), | ||
message, | ||
timeStamp && `${timeStamp}: `, | ||
" ", | ||
timeStamp && `, ${timeStamp}`)); | ||
message)); | ||
}); | ||
export default SystemMessage; | ||
//# sourceMappingURL=SystemMessage.js.map |
{ | ||
"name": "@pega/cosmos-react-social", | ||
"version": "0.9.3", | ||
"version": "0.9.4", | ||
"author": "Pegasystems", | ||
@@ -23,5 +23,5 @@ "license": "SEE LICENSE IN LICENSE", | ||
"dependencies": { | ||
"@pega/cosmos-react-core": "0.9.3", | ||
"@pega/cosmos-react-rte": "0.9.3", | ||
"polished": "^3.4.4", | ||
"@pega/cosmos-react-core": "0.9.4", | ||
"@pega/cosmos-react-rte": "0.9.4", | ||
"polished": "^4.0.5", | ||
"react": "^16.13.1 || ^17.0.0", | ||
@@ -28,0 +28,0 @@ "react-dom": "^16.13.1 || ^17.0.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
+ Added@pega/cosmos-react-core@0.9.4(transitive)
+ Added@pega/cosmos-react-rte@0.9.4(transitive)
+ Addedpolished@4.3.1(transitive)
- Removed@pega/cosmos-react-core@0.9.3(transitive)
- Removed@pega/cosmos-react-rte@0.9.3(transitive)
- Removedpolished@3.7.2(transitive)
Updated@pega/cosmos-react-rte@0.9.4
Updatedpolished@^4.0.5