@noya-app/noya-designsystem 0.1.72 → 0.1.73
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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Message.tsx +1 -1
package/dist/index.mjs
CHANGED
|
@@ -15938,7 +15938,7 @@ import React89, { forwardRef as forwardRef26, memo as memo29, useMemo as useMemo
|
|
|
15938
15938
|
var Message = memo29(
|
|
15939
15939
|
forwardRef26(function Message2({ role, children, user, avatarSize = INPUT_HEIGHT }, ref) {
|
|
15940
15940
|
const randomId = uuid2();
|
|
15941
|
-
const resolvedUserId = user?.
|
|
15941
|
+
const resolvedUserId = user?.authId ?? user?.connectionId ?? randomId;
|
|
15942
15942
|
const userMessageBackgroundColor = colorFromString(resolvedUserId);
|
|
15943
15943
|
const styles3 = useMemo36(
|
|
15944
15944
|
() => role === "user" ? {
|