powr-sdk-web 3.4.1 → 3.4.2
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.
|
@@ -167,9 +167,9 @@ var FeedPost = function FeedPost(_ref) {
|
|
|
167
167
|
className: "flex items-center space-x-3"
|
|
168
168
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
169
169
|
className: "w-10 h-10 bg-blue-500 rounded-full flex items-center justify-center text-white font-semibold"
|
|
170
|
-
}, ((_post$author = post.author) === null || _post$author === void 0 || (_post$author = _post$author.
|
|
170
|
+
}, ((_post$author = post.author) === null || _post$author === void 0 || (_post$author = _post$author.fullName) === null || _post$author === void 0 ? void 0 : _post$author.charAt(0)) || 'U'), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
171
171
|
className: "font-semibold text-gray-900"
|
|
172
|
-
}, ((_post$author2 = post.author) === null || _post$author2 === void 0 ? void 0 : _post$author2.
|
|
172
|
+
}, ((_post$author2 = post.author) === null || _post$author2 === void 0 ? void 0 : _post$author2.fullName) || 'Unknown User'), /*#__PURE__*/_react["default"].createElement("div", {
|
|
173
173
|
className: "text-sm text-gray-500"
|
|
174
174
|
}, formatDate(post.createdAt), !post.isPublic && /*#__PURE__*/_react["default"].createElement("span", {
|
|
175
175
|
className: "ml-2 text-blue-500"
|